Enum PermSecattr
#[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§
§impl PermSecattr
impl PermSecattr
pub const fn from_bits(val: u8) -> PermSecattr
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for PermSecattr
impl Clone for PermSecattr
§fn clone(&self) -> PermSecattr
fn clone(&self) -> PermSecattr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PermSecattr
§impl Debug for PermSecattr
impl Debug for PermSecattr
impl Eq for PermSecattr
§impl From<u8> for PermSecattr
impl From<u8> for PermSecattr
§fn from(val: u8) -> PermSecattr
fn from(val: u8) -> PermSecattr
Converts to this type from the input type.
§impl Ord for PermSecattr
impl Ord for PermSecattr
§fn cmp(&self, other: &PermSecattr) -> Ordering
fn cmp(&self, other: &PermSecattr) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for PermSecattr
impl PartialEq for PermSecattr
§impl PartialOrd for PermSecattr
impl PartialOrd 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 UnsafeUnpin 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