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