CpuidResult in core::arch::x86_64 - Rust
Description: Result of the `cpuid` instruction.
Keywords: rust, rustlang, rust-lang, CpuidResult

# Struct core::arch::x86_64::CpuidResult
1.27.0[−][src]

    pub struct CpuidResult {
        pub eax: u32,
        pub ebx: u32,
        pub ecx: u32,
        pub edx: u32,
    }

This is supported on x86-64 only.
Expand description

Result of the `cpuid` instruction.

## Fields

`eax: u32`

EAX register.

`ebx: u32`

EBX register.

`ecx: u32`

ECX register.

`edx: u32`

EDX register.

## Trait Implementations

[src]

### impl Clone for CpuidResult

This is supported on x86 or x86-64 only.
[src]

#### fn clone(&self) -> CpuidResult

Returns a copy of the value. Read more

1.0.0[src]

#### fn clone_from(&mut self, source: &Self)

Performs copy-assignment from `source`. Read more

[src]

### impl Debug for CpuidResult

This is supported on x86 or x86-64 only.
[src]

#### fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

[src]

### impl Ord for CpuidResult

This is supported on x86 or x86-64 only.
[src]

#### fn cmp(&self, other: &CpuidResult) -> Ordering

This method returns an `Ordering` between `self` and `other`. Read more

1.21.0[src]

#### fn max(self, other: Self) -> Self where
Self: Sized,

Compares and returns the maximum of two values. Read more

1.21.0[src]

#### fn min(self, other: Self) -> Self where
Self: Sized,

Compares and returns the minimum of two values. Read more

1.50.0[src]

#### fn clamp(self, min: Self, max: Self) -> Self where
Self: Sized,

Restrict a value to a certain interval. Read more

[src]

### impl PartialEq<CpuidResult> for CpuidResult

This is supported on x86 or x86-64 only.
[src]

#### fn eq(&self, other: &CpuidResult) -> bool

This method tests for `self` and `other` values to be equal, and is used by `==`. Read more

[src]

#### fn ne(&self, other: &CpuidResult) -> bool

This method tests for `!=`.

[src]

### impl PartialOrd<CpuidResult> for CpuidResult

This is supported on x86 or x86-64 only.
[src]

#### fn partial_cmp(&self, other: &CpuidResult) -> Option<Ordering>

This method returns an ordering between `self` and `other` values if one exists. Read more

1.0.0[src]

#### fn lt(&self, other: &Rhs) -> bool

This method tests less than (for `self` and `other`) and is used by the `<` operator. Read more

1.0.0[src]

#### fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for `self` and `other`) and is used by the `<=` operator. Read more

1.0.0[src]

#### fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for `self` and `other`) and is used by the `>` operator. Read more

1.0.0[src]

#### fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for `self` and `other`) and is used by the `>=` operator. Read more

[src]

### impl Copy for CpuidResult

This is supported on x86 or x86-64 only.
[src]

### impl Eq for CpuidResult

This is supported on x86 or x86-64 only.
[src]

### impl StructuralEq for CpuidResult

This is supported on x86 or x86-64 only.
[src]

### impl StructuralPartialEq for CpuidResult

This is supported on x86 or x86-64 only.

## Auto Trait Implementations

### impl RefUnwindSafe for CpuidResult

### impl Send for CpuidResult

### impl Sync for CpuidResult

### impl Unpin for CpuidResult

### impl UnwindSafe for CpuidResult

## Blanket Implementations

[src]

### impl<T> Any for T where
T: 'static + ?Sized,

[src]

#### pub fn type_id(&Self) -> TypeId

Gets the `TypeId` of `self`. Read more

[src]

### impl<T> Borrow<T> for T where
T: ?Sized,

[src]

#### pub fn borrow(&Self) -> &T

Immutably borrows from an owned value. Read more

[src]

### impl<T> BorrowMut<T> for T where
T: ?Sized,

[src]

#### pub fn borrow_mut(&mut Self) -> &mut T

Mutably borrows from an owned value. Read more

[src]

### impl<T> From<T> for T

[src]

#### pub fn from(T) -> T

Performs the conversion.

[src]

### impl<T, U> Into<U> for T where
U: From<T>,

[src]

#### pub fn into(Self) -> U

Performs the conversion.

[src]

### impl<T, U> TryFrom<U> for T where
U: Into<T>,

#### type Error = Infallible

The type returned in the event of a conversion error.

[src]

#### pub fn try_from(U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.

[src]

### impl<T, U> TryInto<U> for T where
U: TryFrom<T>,

#### type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

[src]

#### pub fn try_into(Self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.