#[repr(u8)]pub enum Privdefena {
Enable = 0,
Disable = 1,
}Variants§
Enable = 0
Disables the default memory map. Any instruction or data access that does not access a defined region faults.
Disable = 1
Enables the default memory map as a background region for privileged accesses.
Implementations§
Source§impl Privdefena
impl Privdefena
Trait Implementations§
Source§impl Clone for Privdefena
impl Clone for Privdefena
Source§fn clone(&self) -> Privdefena
fn clone(&self) -> Privdefena
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 Privdefena
impl Debug for Privdefena
Source§impl From<Privdefena> for u8
impl From<Privdefena> for u8
Source§fn from(val: Privdefena) -> u8
fn from(val: Privdefena) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Privdefena
impl From<u8> for Privdefena
Source§fn from(val: u8) -> Privdefena
fn from(val: u8) -> Privdefena
Converts to this type from the input type.
Source§impl Ord for Privdefena
impl Ord for Privdefena
Source§fn cmp(&self, other: &Privdefena) -> Ordering
fn cmp(&self, other: &Privdefena) -> 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 Privdefena
impl PartialEq for Privdefena
Source§impl PartialOrd for Privdefena
impl PartialOrd for Privdefena
impl Copy for Privdefena
impl Eq for Privdefena
impl StructuralPartialEq for Privdefena
Auto Trait Implementations§
impl Freeze for Privdefena
impl RefUnwindSafe for Privdefena
impl Send for Privdefena
impl Sync for Privdefena
impl Unpin for Privdefena
impl UnwindSafe for Privdefena
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