#[repr(transparent)]pub struct Npxcr(pub u32);Expand description
NPX Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl Npxcr
impl Npxcr
Sourcepub const fn set_ctx0lk(&mut self, val: Ctx0lk)
pub const fn set_ctx0lk(&mut self, val: Ctx0lk)
Lock Enable for Context 0
Sourcepub const fn set_ctx1lk(&mut self, val: Ctx1lk)
pub const fn set_ctx1lk(&mut self, val: Ctx1lk)
Lock Enable for Context 1
Sourcepub const fn set_ctx2lk(&mut self, val: Ctx2lk)
pub const fn set_ctx2lk(&mut self, val: Ctx2lk)
Lock Enable for Context 2
Sourcepub const fn set_ctx3lk(&mut self, val: Ctx3lk)
pub const fn set_ctx3lk(&mut self, val: Ctx3lk)
Lock Enable for Context 3
Trait Implementations§
impl Copy for Npxcr
impl Eq for Npxcr
impl StructuralPartialEq for Npxcr
Auto Trait Implementations§
impl Freeze for Npxcr
impl RefUnwindSafe for Npxcr
impl Send for Npxcr
impl Sync for Npxcr
impl Unpin for Npxcr
impl UnwindSafe for Npxcr
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