Struct Key
#[repr(transparent)]pub struct Key(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Key
impl Key
pub const ACTIVATE: Self
pub const ACTIVATE: Self
Activate write protection (any value that is not the keys)
pub const DEACTIVATE2: Self
pub const DEACTIVATE2: Self
Key 2
pub const DEACTIVATE1: Self
pub const DEACTIVATE1: Self
Key 1
Trait Implementations§
§impl Ord for Key
impl Ord for Key
§impl PartialOrd for Key
impl PartialOrd for Key
impl Copy for Key
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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