Enum PermmaskWrite
#[repr(u8)]pub enum PermmaskWrite {
Masked = 0,
UnMasked = 1,
}Variants§
Masked = 0
Permission setting WRITE in OVERRIDE register will not be applied.
UnMasked = 1
Permission setting WRITE in OVERRIDE register will be applied.
Implementations§
§impl PermmaskWrite
impl PermmaskWrite
pub const fn from_bits(val: u8) -> PermmaskWrite
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for PermmaskWrite
impl Clone for PermmaskWrite
§fn clone(&self) -> PermmaskWrite
fn clone(&self) -> PermmaskWrite
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 PermmaskWrite
§impl Debug for PermmaskWrite
impl Debug for PermmaskWrite
impl Eq for PermmaskWrite
§impl From<u8> for PermmaskWrite
impl From<u8> for PermmaskWrite
§fn from(val: u8) -> PermmaskWrite
fn from(val: u8) -> PermmaskWrite
Converts to this type from the input type.
§impl Ord for PermmaskWrite
impl Ord for PermmaskWrite
§fn cmp(&self, other: &PermmaskWrite) -> Ordering
fn cmp(&self, other: &PermmaskWrite) -> 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 PermmaskWrite
impl PartialEq for PermmaskWrite
§impl PartialOrd for PermmaskWrite
impl PartialOrd for PermmaskWrite
impl StructuralPartialEq for PermmaskWrite
Auto Trait Implementations§
impl Freeze for PermmaskWrite
impl RefUnwindSafe for PermmaskWrite
impl Send for PermmaskWrite
impl Sync for PermmaskWrite
impl Unpin for PermmaskWrite
impl UnsafeUnpin for PermmaskWrite
impl UnwindSafe for PermmaskWrite
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