Struct MContext

Source
#[repr(C)]
pub struct MContext {
Show 26 fields 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 rdi: usize, pub rsi: usize, pub rbp: usize, pub rbx: usize, pub rdx: usize, pub rax: usize, pub rcx: usize, pub rsp: usize, pub rip: usize, pub eflags: usize, pub cs: u8, pub gs: u8, pub fs: u8, pub err: usize, pub trapno: usize, pub oldmask: usize, pub cr2: usize, pub fp_ptr: usize, /* private fields */
}
Expand description

Fields§

§r8: usize§r9: usize§r10: usize§r11: usize§r12: usize§r13: usize§r14: usize§r15: usize§rdi: usize§rsi: usize§rbp: usize§rbx: usize§rdx: usize§rax: usize§rcx: usize§rsp: usize§rip: usize§eflags: usize§cs: u8§gs: u8§fs: u8§err: usize§trapno: usize§oldmask: usize§cr2: usize§fp_ptr: usize

Trait Implementations§

Source§

impl Clone for MContext

Source§

fn clone(&self) -> MContext

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MContext

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.