pub struct ProcessorFeatures0El1(/* private fields */);Expand description
The fields of ID_AA64PFR0_EL1 used by virtual CPU policy.
Implementations§
Source§impl ProcessorFeatures0El1
impl ProcessorFeatures0El1
Sourcepub const fn with_el2_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_el2_checked(self, value: u8) -> Result<Self, ()>
Bits: 8..12
Sourcepub const fn with_el3_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_el3_checked(self, value: u8) -> Result<Self, ()>
Bits: 12..16
Sourcepub const fn gic(&self) -> GicCpuInterface
pub const fn gic(&self) -> GicCpuInterface
Bits: 24..28
Sourcepub const fn with_gic_checked(self, value: GicCpuInterface) -> Result<Self, ()>
pub const fn with_gic_checked(self, value: GicCpuInterface) -> Result<Self, ()>
Bits: 24..28
Sourcepub const fn with_gic(self, value: GicCpuInterface) -> Self
pub const fn with_gic(self, value: GicCpuInterface) -> Self
Bits: 24..28
Sourcepub const fn set_gic(&mut self, value: GicCpuInterface)
pub const fn set_gic(&mut self, value: GicCpuInterface)
Bits: 24..28
Sourcepub const fn set_gic_checked(
&mut self,
value: GicCpuInterface,
) -> Result<(), ()>
pub const fn set_gic_checked( &mut self, value: GicCpuInterface, ) -> Result<(), ()>
Bits: 24..28
Sourcepub const fn with_sve_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_sve_checked(self, value: u8) -> Result<Self, ()>
Bits: 32..36
Trait Implementations§
Source§impl Clone for ProcessorFeatures0El1
impl Clone for ProcessorFeatures0El1
Source§fn clone(&self) -> ProcessorFeatures0El1
fn clone(&self) -> ProcessorFeatures0El1
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 ProcessorFeatures0El1
impl Debug for ProcessorFeatures0El1
Source§impl Default for ProcessorFeatures0El1
impl Default for ProcessorFeatures0El1
Source§impl From<ProcessorFeatures0El1> for u64
impl From<ProcessorFeatures0El1> for u64
Source§fn from(v: ProcessorFeatures0El1) -> u64
fn from(v: ProcessorFeatures0El1) -> u64
Converts to this type from the input type.
Source§impl From<u64> for ProcessorFeatures0El1
impl From<u64> for ProcessorFeatures0El1
impl Copy for ProcessorFeatures0El1
Auto Trait Implementations§
impl Freeze for ProcessorFeatures0El1
impl RefUnwindSafe for ProcessorFeatures0El1
impl Send for ProcessorFeatures0El1
impl Sync for ProcessorFeatures0El1
impl Unpin for ProcessorFeatures0El1
impl UnsafeUnpin for ProcessorFeatures0El1
impl UnwindSafe for ProcessorFeatures0El1
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