Struct tartan_arch::x86_common::paging::ControlRegister2
source · pub struct ControlRegister2(/* private fields */);
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.
source§impl From<usize> for ControlRegister2
impl From<usize> for ControlRegister2
source§impl PartialEq for ControlRegister2
impl PartialEq for ControlRegister2
impl Copy for ControlRegister2
impl Eq for ControlRegister2
impl StructuralPartialEq for ControlRegister2
Auto Trait Implementations§
impl Freeze for ControlRegister2
impl RefUnwindSafe for ControlRegister2
impl Send for ControlRegister2
impl Sync for ControlRegister2
impl Unpin for ControlRegister2
impl UnwindSafe for ControlRegister2
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)