Enum Exlevel1Ns
#[repr(u8)]pub enum Exlevel1Ns {
Enabled = 0,
Disabled = 1,
}Variants§
Enabled = 0
The trace unit generates instruction trace, in Non-secure state, for Exception level 1.
Disabled = 1
The trace unit does not generate instruction trace, in Non-secure state, for Exception level 1.
Implementations§
§impl Exlevel1Ns
impl Exlevel1Ns
pub const fn from_bits(val: u8) -> Exlevel1Ns
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Exlevel1Ns
impl Clone for Exlevel1Ns
§fn clone(&self) -> Exlevel1Ns
fn clone(&self) -> Exlevel1Ns
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 Exlevel1Ns
§impl Debug for Exlevel1Ns
impl Debug for Exlevel1Ns
impl Eq for Exlevel1Ns
§impl From<u8> for Exlevel1Ns
impl From<u8> for Exlevel1Ns
§fn from(val: u8) -> Exlevel1Ns
fn from(val: u8) -> Exlevel1Ns
Converts to this type from the input type.
§impl Ord for Exlevel1Ns
impl Ord for Exlevel1Ns
§fn cmp(&self, other: &Exlevel1Ns) -> Ordering
fn cmp(&self, other: &Exlevel1Ns) -> 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 Exlevel1Ns
impl PartialEq for Exlevel1Ns
§impl PartialOrd for Exlevel1Ns
impl PartialOrd for Exlevel1Ns
impl StructuralPartialEq for Exlevel1Ns
Auto Trait Implementations§
impl Freeze for Exlevel1Ns
impl RefUnwindSafe for Exlevel1Ns
impl Send for Exlevel1Ns
impl Sync for Exlevel1Ns
impl Unpin for Exlevel1Ns
impl UnsafeUnpin for Exlevel1Ns
impl UnwindSafe for Exlevel1Ns
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