Struct x86defs::cpuid::SgxCpuidSubleafEax
source · pub struct SgxCpuidSubleafEax(/* private fields */);
Implementations§
source§impl SgxCpuidSubleafEax
impl SgxCpuidSubleafEax
sourcepub const fn with_sgx_type(self, value: u8) -> Self
pub const fn with_sgx_type(self, value: u8) -> Self
Bits: 0..4
sourcepub fn set_sgx_type(&mut self, value: u8)
pub fn set_sgx_type(&mut self, value: u8)
Bits: 0..4
sourcepub const fn reserved_eax(&self) -> u32
pub const fn reserved_eax(&self) -> u32
Bits: 4..32
sourcepub const fn with_reserved_eax(self, value: u32) -> Self
pub const fn with_reserved_eax(self, value: u32) -> Self
Bits: 4..32
sourcepub fn set_reserved_eax(&mut self, value: u32)
pub fn set_reserved_eax(&mut self, value: u32)
Bits: 4..32
Trait Implementations§
source§impl Clone for SgxCpuidSubleafEax
impl Clone for SgxCpuidSubleafEax
source§fn clone(&self) -> SgxCpuidSubleafEax
fn clone(&self) -> SgxCpuidSubleafEax
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 SgxCpuidSubleafEax
impl Debug for SgxCpuidSubleafEax
source§impl Default for SgxCpuidSubleafEax
impl Default for SgxCpuidSubleafEax
source§impl From<SgxCpuidSubleafEax> for u32
impl From<SgxCpuidSubleafEax> for u32
source§fn from(v: SgxCpuidSubleafEax) -> u32
fn from(v: SgxCpuidSubleafEax) -> u32
Converts to this type from the input type.
source§impl From<u32> for SgxCpuidSubleafEax
impl From<u32> for SgxCpuidSubleafEax
impl Copy for SgxCpuidSubleafEax
Auto Trait Implementations§
impl Freeze for SgxCpuidSubleafEax
impl RefUnwindSafe for SgxCpuidSubleafEax
impl Send for SgxCpuidSubleafEax
impl Sync for SgxCpuidSubleafEax
impl Unpin for SgxCpuidSubleafEax
impl UnwindSafe for SgxCpuidSubleafEax
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
)