#[repr(C)]pub struct RmiRealmFlags(pub u64);Tuple Fields§
§0: u64Implementations§
Source§impl RmiRealmFlags
impl RmiRealmFlags
pub const Lpa2: u64
pub const Sve: u64
pub const Pmu: u64
pub const Reserved: u64
pub fn new(data: u64) -> RmiRealmFlags
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 RmiRealmFlags
impl Clone for RmiRealmFlags
Source§fn clone(&self) -> RmiRealmFlags
fn clone(&self) -> RmiRealmFlags
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 RmiRealmFlags
Auto Trait Implementations§
impl Freeze for RmiRealmFlags
impl RefUnwindSafe for RmiRealmFlags
impl Send for RmiRealmFlags
impl Sync for RmiRealmFlags
impl Unpin for RmiRealmFlags
impl UnsafeUnpin for RmiRealmFlags
impl UnwindSafe for RmiRealmFlags
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