#[repr(transparent)]pub struct Permmask(pub u32);
Expand description
Description cluster: Masks permission setting fields from register OVERRIDE.PERM
Tuple Fields§
§0: u32
Implementations§
Source§impl Permmask
impl Permmask
Sourcepub const fn read(&self) -> PermmaskRead
pub const fn read(&self) -> PermmaskRead
Read mask
Sourcepub fn set_read(&mut self, val: PermmaskRead)
pub fn set_read(&mut self, val: PermmaskRead)
Read mask
Sourcepub const fn write(&self) -> PermmaskWrite
pub const fn write(&self) -> PermmaskWrite
Write mask
Sourcepub fn set_write(&mut self, val: PermmaskWrite)
pub fn set_write(&mut self, val: PermmaskWrite)
Write mask
Sourcepub const fn execute(&self) -> PermmaskExecute
pub const fn execute(&self) -> PermmaskExecute
Execute mask
Sourcepub fn set_execute(&mut self, val: PermmaskExecute)
pub fn set_execute(&mut self, val: PermmaskExecute)
Execute mask
Sourcepub const fn secattr(&self) -> PermmaskSecattr
pub const fn secattr(&self) -> PermmaskSecattr
Security mapping mask
Sourcepub fn set_secattr(&mut self, val: PermmaskSecattr)
pub fn set_secattr(&mut self, val: PermmaskSecattr)
Security mapping mask
Trait Implementations§
impl Copy for Permmask
impl Eq for Permmask
impl StructuralPartialEq for Permmask
Auto Trait Implementations§
impl Freeze for Permmask
impl RefUnwindSafe for Permmask
impl Send for Permmask
impl Sync for Permmask
impl Unpin for Permmask
impl UnwindSafe for Permmask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)