#[repr(u8)]pub enum PermSecattr {
NonSecure = 0,
Secure = 1,
}Variants§
NonSecure = 0
Override region n is mapped in non-secure memory address space.
Secure = 1
Override region n is mapped in secure memory address space.
Implementations§
Source§impl PermSecattr
impl PermSecattr
Trait Implementations§
Source§impl Clone for PermSecattr
impl Clone for PermSecattr
Source§fn clone(&self) -> PermSecattr
fn clone(&self) -> PermSecattr
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 PermSecattr
impl Debug for PermSecattr
Source§impl From<PermSecattr> for u8
impl From<PermSecattr> for u8
Source§fn from(val: PermSecattr) -> u8
fn from(val: PermSecattr) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PermSecattr
impl From<u8> for PermSecattr
Source§fn from(val: u8) -> PermSecattr
fn from(val: u8) -> PermSecattr
Converts to this type from the input type.
Source§impl Ord for PermSecattr
impl Ord for PermSecattr
Source§fn cmp(&self, other: &PermSecattr) -> Ordering
fn cmp(&self, other: &PermSecattr) -> 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 PermSecattr
impl PartialEq for PermSecattr
Source§impl PartialOrd for PermSecattr
impl PartialOrd for PermSecattr
impl Copy for PermSecattr
impl Eq for PermSecattr
impl StructuralPartialEq for PermSecattr
Auto Trait Implementations§
impl Freeze for PermSecattr
impl RefUnwindSafe for PermSecattr
impl Send for PermSecattr
impl Sync for PermSecattr
impl Unpin for PermSecattr
impl UnwindSafe for PermSecattr
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