pub struct RasEnabledFeatures(/* private fields */);Implementations§
Source§impl RasEnabledFeatures
impl RasEnabledFeatures
pub fn new(val: u64) -> RasEnabledFeatures
pub fn is_supported(&self, ras: RasBlock) -> bool
pub fn mask_value(&self) -> u64
Trait Implementations§
Source§impl Clone for RasEnabledFeatures
impl Clone for RasEnabledFeatures
Source§fn clone(&self) -> RasEnabledFeatures
fn clone(&self) -> RasEnabledFeatures
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 moreSource§impl Debug for RasEnabledFeatures
impl Debug for RasEnabledFeatures
impl Copy for RasEnabledFeatures
Auto Trait Implementations§
impl Freeze for RasEnabledFeatures
impl RefUnwindSafe for RasEnabledFeatures
impl Send for RasEnabledFeatures
impl Sync for RasEnabledFeatures
impl Unpin for RasEnabledFeatures
impl UnwindSafe for RasEnabledFeatures
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