#[repr(u8)]pub enum LockReg0 {
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 LockReg0
impl Ord for LockReg0
Source§impl PartialOrd for LockReg0
impl PartialOrd for LockReg0
impl Copy for LockReg0
impl Eq for LockReg0
impl StructuralPartialEq for LockReg0
Auto Trait Implementations§
impl Freeze for LockReg0
impl RefUnwindSafe for LockReg0
impl Send for LockReg0
impl Sync for LockReg0
impl Unpin for LockReg0
impl UnwindSafe for LockReg0
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