Enum Exlevel2Ns
#[repr(u8)]pub enum Exlevel2Ns {
ENABLED = 0,
DISABLED = 1,
}
Variants§
ENABLED = 0
The trace unit generates instruction trace, in Non-secure state, for Exception level 2.
DISABLED = 1
The trace unit does not generate instruction trace, in Non-secure state, for Exception level 2.
Implementations§
§impl Exlevel2Ns
impl Exlevel2Ns
pub const fn from_bits(val: u8) -> Exlevel2Ns
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Exlevel2Ns
impl Clone for Exlevel2Ns
§fn clone(&self) -> Exlevel2Ns
fn clone(&self) -> Exlevel2Ns
Returns a copy 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 more§impl From<u8> for Exlevel2Ns
impl From<u8> for Exlevel2Ns
§fn from(val: u8) -> Exlevel2Ns
fn from(val: u8) -> Exlevel2Ns
Converts to this type from the input type.
§impl Ord for Exlevel2Ns
impl Ord for Exlevel2Ns
§impl PartialEq for Exlevel2Ns
impl PartialEq for Exlevel2Ns
§impl PartialOrd for Exlevel2Ns
impl PartialOrd for Exlevel2Ns
impl Copy for Exlevel2Ns
impl Eq for Exlevel2Ns
impl StructuralPartialEq for Exlevel2Ns
Auto Trait Implementations§
impl Freeze for Exlevel2Ns
impl RefUnwindSafe for Exlevel2Ns
impl Send for Exlevel2Ns
impl Sync for Exlevel2Ns
impl Unpin for Exlevel2Ns
impl UnwindSafe for Exlevel2Ns
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)