#[repr(u8)]pub enum MiscCtrlDpRegWriteLock {
_RESERVED_0 = 0,
RESTRICTED = 1,
ACCESSIBLE = 2,
_RESERVED_3 = 3,
}Variants§
_RESERVED_0 = 0
RESTRICTED = 1
Restricted mode.
ACCESSIBLE = 2
Secure control registers can be written.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Clone for MiscCtrlDpRegWriteLock
impl Clone for MiscCtrlDpRegWriteLock
Source§fn clone(&self) -> MiscCtrlDpRegWriteLock
fn clone(&self) -> MiscCtrlDpRegWriteLock
Returns a duplicate 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 Debug for MiscCtrlDpRegWriteLock
impl Debug for MiscCtrlDpRegWriteLock
Source§impl From<MiscCtrlDpRegWriteLock> for u8
impl From<MiscCtrlDpRegWriteLock> for u8
Source§fn from(val: MiscCtrlDpRegWriteLock) -> u8
fn from(val: MiscCtrlDpRegWriteLock) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MiscCtrlDpRegWriteLock
impl From<u8> for MiscCtrlDpRegWriteLock
Source§fn from(val: u8) -> MiscCtrlDpRegWriteLock
fn from(val: u8) -> MiscCtrlDpRegWriteLock
Converts to this type from the input type.
Source§impl Ord for MiscCtrlDpRegWriteLock
impl Ord for MiscCtrlDpRegWriteLock
Source§fn cmp(&self, other: &MiscCtrlDpRegWriteLock) -> Ordering
fn cmp(&self, other: &MiscCtrlDpRegWriteLock) -> 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 MiscCtrlDpRegWriteLock
impl PartialEq for MiscCtrlDpRegWriteLock
Source§impl PartialOrd for MiscCtrlDpRegWriteLock
impl PartialOrd for MiscCtrlDpRegWriteLock
impl Copy for MiscCtrlDpRegWriteLock
impl Eq for MiscCtrlDpRegWriteLock
impl StructuralPartialEq for MiscCtrlDpRegWriteLock
Auto Trait Implementations§
impl Freeze for MiscCtrlDpRegWriteLock
impl RefUnwindSafe for MiscCtrlDpRegWriteLock
impl Send for MiscCtrlDpRegWriteLock
impl Sync for MiscCtrlDpRegWriteLock
impl Unpin for MiscCtrlDpRegWriteLock
impl UnwindSafe for MiscCtrlDpRegWriteLock
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