Struct x86defs::cpuid::ExtendedSevFeaturesEbx
source · pub struct ExtendedSevFeaturesEbx(/* private fields */);
Implementations§
source§impl ExtendedSevFeaturesEbx
impl ExtendedSevFeaturesEbx
sourcepub const fn cbit_position(&self) -> u8
pub const fn cbit_position(&self) -> u8
Bits: 0..6
sourcepub const fn with_cbit_position(self, value: u8) -> Self
pub const fn with_cbit_position(self, value: u8) -> Self
Bits: 0..6
sourcepub fn set_cbit_position(&mut self, value: u8)
pub fn set_cbit_position(&mut self, value: u8)
Bits: 0..6
sourcepub const fn encryption_physical_bits_used(&self) -> u8
pub const fn encryption_physical_bits_used(&self) -> u8
Bits: 6..12
sourcepub const fn with_encryption_physical_bits_used(self, value: u8) -> Self
pub const fn with_encryption_physical_bits_used(self, value: u8) -> Self
Bits: 6..12
sourcepub fn set_encryption_physical_bits_used(&mut self, value: u8)
pub fn set_encryption_physical_bits_used(&mut self, value: u8)
Bits: 6..12
sourcepub const fn number_of_vmpls(&self) -> u8
pub const fn number_of_vmpls(&self) -> u8
Bits: 12..16
sourcepub const fn with_number_of_vmpls(self, value: u8) -> Self
pub const fn with_number_of_vmpls(self, value: u8) -> Self
Bits: 12..16
sourcepub fn set_number_of_vmpls(&mut self, value: u8)
pub fn set_number_of_vmpls(&mut self, value: u8)
Bits: 12..16
Trait Implementations§
source§impl Clone for ExtendedSevFeaturesEbx
impl Clone for ExtendedSevFeaturesEbx
source§fn clone(&self) -> ExtendedSevFeaturesEbx
fn clone(&self) -> ExtendedSevFeaturesEbx
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 ExtendedSevFeaturesEbx
impl Debug for ExtendedSevFeaturesEbx
source§impl Default for ExtendedSevFeaturesEbx
impl Default for ExtendedSevFeaturesEbx
source§impl From<ExtendedSevFeaturesEbx> for u32
impl From<ExtendedSevFeaturesEbx> for u32
source§fn from(v: ExtendedSevFeaturesEbx) -> u32
fn from(v: ExtendedSevFeaturesEbx) -> u32
Converts to this type from the input type.
source§impl From<u32> for ExtendedSevFeaturesEbx
impl From<u32> for ExtendedSevFeaturesEbx
impl Copy for ExtendedSevFeaturesEbx
Auto Trait Implementations§
impl Freeze for ExtendedSevFeaturesEbx
impl RefUnwindSafe for ExtendedSevFeaturesEbx
impl Send for ExtendedSevFeaturesEbx
impl Sync for ExtendedSevFeaturesEbx
impl Unpin for ExtendedSevFeaturesEbx
impl UnwindSafe for ExtendedSevFeaturesEbx
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)