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