pub struct Cr4;
Expand description

Contains various control flags that enable architectural extensions, and indicate support for specific processor capabilities.

Implementations

Read the current set of CR4 flags.

Read the current raw CR4 value.

Write CR4 flags.

Preserves the value of reserved fields.

Safety

This function is unsafe because it’s possible to violate memory safety through it, e.g. by overwriting the physical address extension flag.

Write raw CR4 flags.

Does not preserve any values, including reserved fields.

Safety

This function is unsafe because it’s possible to violate memory safety through it, e.g. by overwriting the physical address extension flag.

Updates CR4 flags.

Preserves the value of reserved fields.

Safety

This function is unsafe because it’s possible to violate memory safety through it, e.g. by overwriting the physical address extension flag.

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.