#[repr(u8)]pub enum KeylockKey2 {
KEY2LOCK_0 = 0,
KEY2LOCK_1 = 1,
KEY2UNLOCK = 2,
KEY2LOCK_3 = 3,
}Variants§
KEY2LOCK_0 = 0
Write access to KEY2MASK, KEYENABLE[KEY2] and KEYRESET[KEY2] is NOT allowed.
KEY2LOCK_1 = 1
Write access to KEY2MASK, KEYENABLE[KEY2] and KEYRESET[KEY2] is NOT allowed.
KEY2UNLOCK = 2
Write access to KEY2MASK, KEYENABLE[KEY2] and KEYRESET[KEY2] is allowed.
KEY2LOCK_3 = 3
Write access to KEY2MASK, KEYENABLE[KEY2] and KEYRESET[KEY2] is NOT allowed.
Implementations§
Source§impl KeylockKey2
impl KeylockKey2
Trait Implementations§
Source§impl Clone for KeylockKey2
impl Clone for KeylockKey2
Source§fn clone(&self) -> KeylockKey2
fn clone(&self) -> KeylockKey2
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 KeylockKey2
impl Debug for KeylockKey2
Source§impl From<KeylockKey2> for u8
impl From<KeylockKey2> for u8
Source§fn from(val: KeylockKey2) -> u8
fn from(val: KeylockKey2) -> u8
Converts to this type from the input type.
Source§impl From<u8> for KeylockKey2
impl From<u8> for KeylockKey2
Source§fn from(val: u8) -> KeylockKey2
fn from(val: u8) -> KeylockKey2
Converts to this type from the input type.
Source§impl Ord for KeylockKey2
impl Ord for KeylockKey2
Source§fn cmp(&self, other: &KeylockKey2) -> Ordering
fn cmp(&self, other: &KeylockKey2) -> 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 KeylockKey2
impl PartialEq for KeylockKey2
Source§impl PartialOrd for KeylockKey2
impl PartialOrd for KeylockKey2
impl Copy for KeylockKey2
impl Eq for KeylockKey2
impl StructuralPartialEq for KeylockKey2
Auto Trait Implementations§
impl Freeze for KeylockKey2
impl RefUnwindSafe for KeylockKey2
impl Send for KeylockKey2
impl Sync for KeylockKey2
impl Unpin for KeylockKey2
impl UnwindSafe for KeylockKey2
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