#[repr(u8)]pub enum KeylockKey0 {
KEY0LOCK_0 = 0,
KEY0LOCK_1 = 1,
KEY0UNLOCK = 2,
KEY0LOCK_3 = 3,
}Variants§
KEY0LOCK_0 = 0
Write access to KEY0MASK, KEYENABLE[KEY0] and KEYRESET[KEY0] is NOT allowed.
KEY0LOCK_1 = 1
Write access to KEY0MASK, KEYENABLE[KEY0] and KEYRESET[KEY0] is NOT allowed.
KEY0UNLOCK = 2
Write access to KEY0MASK, KEYENABLE[KEY0] and KEYRESET[KEY0] is allowed.
KEY0LOCK_3 = 3
Write access to KEY0MASK, KEYENABLE[KEY0] and KEYRESET[KEY0] is NOT allowed.
Implementations§
Source§impl KeylockKey0
impl KeylockKey0
Trait Implementations§
Source§impl Clone for KeylockKey0
impl Clone for KeylockKey0
Source§fn clone(&self) -> KeylockKey0
fn clone(&self) -> KeylockKey0
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeylockKey0
impl Debug for KeylockKey0
Source§impl From<KeylockKey0> for u8
impl From<KeylockKey0> for u8
Source§fn from(val: KeylockKey0) -> u8
fn from(val: KeylockKey0) -> u8
Converts to this type from the input type.
Source§impl From<u8> for KeylockKey0
impl From<u8> for KeylockKey0
Source§fn from(val: u8) -> KeylockKey0
fn from(val: u8) -> KeylockKey0
Converts to this type from the input type.
Source§impl Ord for KeylockKey0
impl Ord for KeylockKey0
Source§fn cmp(&self, other: &KeylockKey0) -> Ordering
fn cmp(&self, other: &KeylockKey0) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KeylockKey0
impl PartialEq for KeylockKey0
Source§impl PartialOrd for KeylockKey0
impl PartialOrd for KeylockKey0
impl Copy for KeylockKey0
impl Eq for KeylockKey0
impl StructuralPartialEq for KeylockKey0
Auto Trait Implementations§
impl Freeze for KeylockKey0
impl RefUnwindSafe for KeylockKey0
impl Send for KeylockKey0
impl Sync for KeylockKey0
impl Unpin for KeylockKey0
impl UnwindSafe for KeylockKey0
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more