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