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