#[repr(u8)]pub enum MiscCtrlEnable {
_RESERVED_0 = 0,
ENABLED = 1,
DISABLED = 2,
_RESERVED_3 = 3,
}Variants§
_RESERVED_0 = 0
ENABLED = 1
Enables the privilege checking of non-secure mode access.
DISABLED = 2
Disables the privilege checking of non-secure mode access.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Clone for MiscCtrlEnable
impl Clone for MiscCtrlEnable
Source§fn clone(&self) -> MiscCtrlEnable
fn clone(&self) -> MiscCtrlEnable
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 MiscCtrlEnable
impl Debug for MiscCtrlEnable
Source§impl From<MiscCtrlEnable> for u8
impl From<MiscCtrlEnable> for u8
Source§fn from(val: MiscCtrlEnable) -> u8
fn from(val: MiscCtrlEnable) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MiscCtrlEnable
impl From<u8> for MiscCtrlEnable
Source§fn from(val: u8) -> MiscCtrlEnable
fn from(val: u8) -> MiscCtrlEnable
Converts to this type from the input type.
Source§impl Ord for MiscCtrlEnable
impl Ord for MiscCtrlEnable
Source§fn cmp(&self, other: &MiscCtrlEnable) -> Ordering
fn cmp(&self, other: &MiscCtrlEnable) -> 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 MiscCtrlEnable
impl PartialEq for MiscCtrlEnable
Source§impl PartialOrd for MiscCtrlEnable
impl PartialOrd for MiscCtrlEnable
impl Copy for MiscCtrlEnable
impl Eq for MiscCtrlEnable
impl StructuralPartialEq for MiscCtrlEnable
Auto Trait Implementations§
impl Freeze for MiscCtrlEnable
impl RefUnwindSafe for MiscCtrlEnable
impl Send for MiscCtrlEnable
impl Sync for MiscCtrlEnable
impl Unpin for MiscCtrlEnable
impl UnwindSafe for MiscCtrlEnable
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