#[repr(u8)]pub enum Ctx2lk {
LOCK_DISABLED = 0,
LOCK_ENABLED = 1,
}Variants§
LOCK_DISABLED = 0
Lock disabled: VMAPCTX2 remains read-write
LOCK_ENABLED = 1
Lock enabled: cannot write to VMAPCTX2 (becomes read-only)
Implementations§
Trait Implementations§
Source§impl Ord for Ctx2lk
impl Ord for Ctx2lk
Source§impl PartialOrd for Ctx2lk
impl PartialOrd for Ctx2lk
impl Copy for Ctx2lk
impl Eq for Ctx2lk
impl StructuralPartialEq for Ctx2lk
Auto Trait Implementations§
impl Freeze for Ctx2lk
impl RefUnwindSafe for Ctx2lk
impl Send for Ctx2lk
impl Sync for Ctx2lk
impl Unpin for Ctx2lk
impl UnwindSafe for Ctx2lk
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