Context

Struct Context 

Source
pub struct Context {
Show 57 fields pub p1_home: u64, pub p2_home: u64, pub p3_home: u64, pub p4_home: u64, pub p5_home: u64, pub p6_home: u64, pub context_flags: u32, pub mxcsr: u32, pub seg_cs: u16, pub seg_ds: u16, pub seg_es: u16, pub seg_fs: u16, pub seg_gs: u16, pub seg_ss: u16, pub eflags: u32, pub dr0: u64, pub dr1: u64, pub dr2: u64, pub dr3: u64, pub dr6: u64, pub dr7: u64, pub rax: u64, pub rcx: u64, pub rdx: u64, pub rbx: u64, pub rsp: u64, pub rbp: u64, pub rsi: u64, pub rdi: u64, pub r8: u64, pub r9: u64, pub r10: u64, pub r11: u64, pub r12: u64, pub r13: u64, pub r14: u64, pub r15: u64, pub rip: u64, pub control_word: u16, pub status_word: u16, pub tag_word: u8, pub error_opcode: u16, pub error_offset: u32, pub error_selector: u16, pub data_offset: u32, pub data_selector: u16, pub mxcsr2: u32, pub mxcsr_mask: u32, pub float_registers: [u128; 8], pub xmm_registers: [u128; 16], pub vector_register: [u128; 26], pub vector_control: u64, pub debug_control: u64, pub last_branch_to_rip: u64, pub last_branch_from_rip: u64, pub last_exception_to_rip: u64, pub last_exception_from_rip: u64, /* private fields */
}

Fields§

§p1_home: u64§p2_home: u64§p3_home: u64§p4_home: u64§p5_home: u64§p6_home: u64§context_flags: u32§mxcsr: u32§seg_cs: u16§seg_ds: u16§seg_es: u16§seg_fs: u16§seg_gs: u16§seg_ss: u16§eflags: u32§dr0: u64§dr1: u64§dr2: u64§dr3: u64§dr6: u64§dr7: u64§rax: u64§rcx: u64§rdx: u64§rbx: u64§rsp: u64§rbp: u64§rsi: u64§rdi: u64§r8: u64§r9: u64§r10: u64§r11: u64§r12: u64§r13: u64§r14: u64§r15: u64§rip: u64§control_word: u16§status_word: u16§tag_word: u8§error_opcode: u16§error_offset: u32§error_selector: u16§data_offset: u32§data_selector: u16§mxcsr2: u32§mxcsr_mask: u32§float_registers: [u128; 8]§xmm_registers: [u128; 16]§vector_register: [u128; 26]§vector_control: u64§debug_control: u64§last_branch_to_rip: u64§last_branch_from_rip: u64§last_exception_to_rip: u64§last_exception_from_rip: u64

Trait Implementations§

Source§

impl Debug for Context

Source§

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

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Context

Source§

fn eq(&self, other: &Context) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Pod for Context

Source§

impl StructuralPartialEq for Context

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> 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.