#[repr(u8)]pub enum PermmaskWrite {
MASKED = 0,
UN_MASKED = 1,
}
Variants§
MASKED = 0
Permission setting WRITE in OVERRIDE register will not be applied
UN_MASKED = 1
Permission setting WRITE in OVERRIDE register will be applied
Implementations§
Source§impl PermmaskWrite
impl PermmaskWrite
Trait Implementations§
Source§impl Clone for PermmaskWrite
impl Clone for PermmaskWrite
Source§fn clone(&self) -> PermmaskWrite
fn clone(&self) -> PermmaskWrite
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<PermmaskWrite> for u8
impl From<PermmaskWrite> for u8
Source§fn from(val: PermmaskWrite) -> u8
fn from(val: PermmaskWrite) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PermmaskWrite
impl From<u8> for PermmaskWrite
Source§fn from(val: u8) -> PermmaskWrite
fn from(val: u8) -> PermmaskWrite
Converts to this type from the input type.
Source§impl Ord for PermmaskWrite
impl Ord for PermmaskWrite
Source§fn cmp(&self, other: &PermmaskWrite) -> Ordering
fn cmp(&self, other: &PermmaskWrite) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PermmaskWrite
impl PartialEq for PermmaskWrite
Source§impl PartialOrd for PermmaskWrite
impl PartialOrd for PermmaskWrite
impl Copy for PermmaskWrite
impl Eq 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 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
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
)