Struct trapframe::GeneralRegs
source · [−]#[repr(C)]pub struct GeneralRegs {Show 20 fields
pub rax: usize,
pub rbx: usize,
pub rcx: usize,
pub rdx: usize,
pub rsi: usize,
pub rdi: usize,
pub rbp: usize,
pub rsp: usize,
pub r8: usize,
pub r9: usize,
pub r10: usize,
pub r11: usize,
pub r12: usize,
pub r13: usize,
pub r14: usize,
pub r15: usize,
pub rip: usize,
pub rflags: usize,
pub fsbase: usize,
pub gsbase: usize,
}
Expand description
General registers
Fields
rax: usize
rbx: usize
rcx: usize
rdx: usize
rsi: usize
rdi: usize
rbp: usize
rsp: usize
r8: usize
r9: usize
r10: usize
r11: usize
r12: usize
r13: usize
r14: usize
r15: usize
rip: usize
rflags: usize
fsbase: usize
gsbase: usize
Trait Implementations
sourceimpl Clone for GeneralRegs
impl Clone for GeneralRegs
sourcefn clone(&self) -> GeneralRegs
fn clone(&self) -> GeneralRegs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GeneralRegs
impl Debug for GeneralRegs
sourceimpl Default for GeneralRegs
impl Default for GeneralRegs
sourcefn default() -> GeneralRegs
fn default() -> GeneralRegs
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GeneralRegs> for GeneralRegs
impl PartialEq<GeneralRegs> for GeneralRegs
sourcefn eq(&self, other: &GeneralRegs) -> bool
fn eq(&self, other: &GeneralRegs) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GeneralRegs) -> bool
fn ne(&self, other: &GeneralRegs) -> bool
This method tests for !=
.
impl Copy for GeneralRegs
impl Eq for GeneralRegs
impl StructuralEq for GeneralRegs
impl StructuralPartialEq for GeneralRegs
Auto Trait Implementations
impl RefUnwindSafe for GeneralRegs
impl Send for GeneralRegs
impl Sync for GeneralRegs
impl Unpin for GeneralRegs
impl UnwindSafe for GeneralRegs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more