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