Struct tartan_arch::x86_common::paging::ControlRegister2
source · #[repr(transparent)]pub struct ControlRegister2(_);
Available on x86 or x86-64 only.
Expand description
CR2
: Contains the address that triggered a page fault.
Implementations§
Trait Implementations§
source§impl Bitfield<usize> for ControlRegister2
impl Bitfield<usize> for ControlRegister2
source§impl Clone for ControlRegister2
impl Clone for ControlRegister2
source§fn clone(&self) -> ControlRegister2
fn clone(&self) -> ControlRegister2
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 ControlRegister2
impl Debug for ControlRegister2
source§impl Default for ControlRegister2
impl Default for ControlRegister2
source§fn default() -> ControlRegister2
fn default() -> ControlRegister2
Returns the “default value” for a type. Read more
source§impl From<ControlRegister2> for usize
impl From<ControlRegister2> for usize
source§fn from(val: ControlRegister2) -> Self
fn from(val: ControlRegister2) -> Self
Converts to this type from the input type.