#[repr(u8)]pub enum LockReg1 {
UNLOCK = 0,
LOCK = 1,
VALUE_2 = 2,
VALUE_3 = 3,
}Variants§
UNLOCK = 0
Region is not locked
LOCK = 1
Region is locked
VALUE_2 = 2
Region is locked
VALUE_3 = 3
Region is locked
Implementations§
Trait Implementations§
Source§impl Ord for LockReg1
impl Ord for LockReg1
Source§impl PartialOrd for LockReg1
impl PartialOrd for LockReg1
impl Copy for LockReg1
impl Eq for LockReg1
impl StructuralPartialEq for LockReg1
Auto Trait Implementations§
impl Freeze for LockReg1
impl RefUnwindSafe for LockReg1
impl Send for LockReg1
impl Sync for LockReg1
impl Unpin for LockReg1
impl UnwindSafe for LockReg1
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