#[repr(C)]pub struct FeatureReg0(pub u64);Tuple Fields§
§0: u64Implementations§
Source§impl FeatureReg0
impl FeatureReg0
pub const MAX_RECS_ORDER: u64
pub const GICV3_NUM_LRS: u64
pub const HASH_SHA_512: u64
pub const HASH_SHA_256: u64
pub const PMU_NUM_CTRS: u64
pub const PMU_EN: u64
pub const NUM_WPS: u64
pub const NUM_BPS: u64
pub const SVE_VL: u64
pub const SVE_EN: u64
pub const LPA2: u64
pub const S2SZ: u64
pub fn new(data: u64) -> FeatureReg0
pub fn get_mut(&mut self) -> &mut Self
pub fn get(&self) -> u64
pub fn get_masked(&self, mask: u64) -> u64
pub fn get_masked_value(&self, mask: u64) -> u64
pub fn set(&mut self, val: u64) -> &mut Self
pub fn set_masked(&mut self, mask: u64, val: u64) -> &mut Self
pub fn set_masked_value(&mut self, mask: u64, val: u64) -> &mut Self
pub fn set_bits(&mut self, mask: u64) -> &mut Self
pub fn clear_bits(&mut self, mask: u64) -> &mut Self
Trait Implementations§
Source§impl Clone for FeatureReg0
impl Clone for FeatureReg0
Source§fn clone(&self) -> FeatureReg0
fn clone(&self) -> FeatureReg0
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 FeatureReg0
Auto Trait Implementations§
impl Freeze for FeatureReg0
impl RefUnwindSafe for FeatureReg0
impl Send for FeatureReg0
impl Sync for FeatureReg0
impl Unpin for FeatureReg0
impl UnsafeUnpin for FeatureReg0
impl UnwindSafe for FeatureReg0
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