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