pub struct XCr0;
Expand description

Extended feature enable mask register

Implementations

Read the current set of XCR0 flags.

Read the current raw XCR0 value.

Write XCR0 flags.

Preserves the value of reserved fields. Panics if invalid combinations of XCr0Flags are set.

Safety

This function is unsafe because it’s possible to enable features that are not supported by the architecture

Write raw XCR0 flags.

Does not preserve any values, including reserved fields.

Safety

This function is unsafe because it’s possible to enable features that are not supported by the architecture

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.