Enum PermmaskRead
#[repr(u8)]pub enum PermmaskRead {
MASKED = 0,
UN_MASKED = 1,
}
Variants§
MASKED = 0
Permission setting READ in OVERRIDE register will not be applied
UN_MASKED = 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 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 more§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
§impl PartialEq for PermmaskRead
impl PartialEq for PermmaskRead
§impl PartialOrd for PermmaskRead
impl PartialOrd for PermmaskRead
impl Copy for PermmaskRead
impl Eq 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 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
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
)