Enum PermmaskSecattr
#[repr(u8)]pub enum PermmaskSecattr {
Masked = 0,
UnMasked = 1,
}Variants§
Masked = 0
Permission setting SECATTR in OVERRIDE register will not be applied.
UnMasked = 1
Permission setting SECATTR in OVERRIDE register will be applied.
Implementations§
§impl PermmaskSecattr
impl PermmaskSecattr
pub const fn from_bits(val: u8) -> PermmaskSecattr
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for PermmaskSecattr
impl Clone for PermmaskSecattr
§fn clone(&self) -> PermmaskSecattr
fn clone(&self) -> PermmaskSecattr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PermmaskSecattr
§impl Debug for PermmaskSecattr
impl Debug for PermmaskSecattr
impl Eq for PermmaskSecattr
§impl From<u8> for PermmaskSecattr
impl From<u8> for PermmaskSecattr
§fn from(val: u8) -> PermmaskSecattr
fn from(val: u8) -> PermmaskSecattr
Converts to this type from the input type.
§impl Ord for PermmaskSecattr
impl Ord for PermmaskSecattr
§fn cmp(&self, other: &PermmaskSecattr) -> Ordering
fn cmp(&self, other: &PermmaskSecattr) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for PermmaskSecattr
impl PartialEq for PermmaskSecattr
§impl PartialOrd for PermmaskSecattr
impl PartialOrd for PermmaskSecattr
impl StructuralPartialEq for PermmaskSecattr
Auto Trait Implementations§
impl Freeze for PermmaskSecattr
impl RefUnwindSafe for PermmaskSecattr
impl Send for PermmaskSecattr
impl Sync for PermmaskSecattr
impl Unpin for PermmaskSecattr
impl UnsafeUnpin for PermmaskSecattr
impl UnwindSafe for PermmaskSecattr
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