pub struct MmFeatures2El1(/* private fields */);Expand description
The fields of ID_AA64MMFR2_EL1 used by virtual CPU policy.
Implementations§
Source§impl MmFeatures2El1
impl MmFeatures2El1
Sourcepub const fn with_cnp_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_cnp_checked(self, value: u8) -> Result<Self, ()>
Bits: 0..4
Sourcepub const fn with_nv_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_nv_checked(self, value: u8) -> Result<Self, ()>
Bits: 24..28
Trait Implementations§
Source§impl Clone for MmFeatures2El1
impl Clone for MmFeatures2El1
Source§fn clone(&self) -> MmFeatures2El1
fn clone(&self) -> MmFeatures2El1
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 MmFeatures2El1
impl Debug for MmFeatures2El1
Source§impl Default for MmFeatures2El1
impl Default for MmFeatures2El1
Source§impl From<MmFeatures2El1> for u64
impl From<MmFeatures2El1> for u64
Source§fn from(v: MmFeatures2El1) -> u64
fn from(v: MmFeatures2El1) -> u64
Converts to this type from the input type.
Source§impl From<u64> for MmFeatures2El1
impl From<u64> for MmFeatures2El1
impl Copy for MmFeatures2El1
Auto Trait Implementations§
impl Freeze for MmFeatures2El1
impl RefUnwindSafe for MmFeatures2El1
impl Send for MmFeatures2El1
impl Sync for MmFeatures2El1
impl Unpin for MmFeatures2El1
impl UnsafeUnpin for MmFeatures2El1
impl UnwindSafe for MmFeatures2El1
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