Enum Unlocked
#[repr(u8)]pub enum Unlocked {
Locked = 0,
Unlocked = 1,
}Variants§
Locked = 0
accessed locked: key was not written and after each register write access.
Unlocked = 1
after key 0xCAFECAFE was written in this register.
Implementations§
Trait Implementations§
impl Copy for Unlocked
impl Eq for Unlocked
§impl Ord for Unlocked
impl Ord for Unlocked
1.21.0 (const: unstable) · 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
§impl PartialOrd for Unlocked
impl PartialOrd for Unlocked
impl StructuralPartialEq for Unlocked
Auto Trait Implementations§
impl Freeze for Unlocked
impl RefUnwindSafe for Unlocked
impl Send for Unlocked
impl Sync for Unlocked
impl Unpin for Unlocked
impl UnsafeUnpin for Unlocked
impl UnwindSafe for Unlocked
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