polkavm_linux_raw

Struct user_regs_struct

Source
#[repr(C)]
pub struct user_regs_struct {
Show 27 fields pub r15: c_ulong, pub r14: c_ulong, pub r13: c_ulong, pub r12: c_ulong, pub rbp: c_ulong, pub rbx: c_ulong, pub r11: c_ulong, pub r10: c_ulong, pub r9: c_ulong, pub r8: c_ulong, pub rax: c_ulong, pub rcx: c_ulong, pub rdx: c_ulong, pub rsi: c_ulong, pub rdi: c_ulong, pub orig_rax: c_ulong, pub rip: c_ulong, pub cs: c_ulong, pub flags: c_ulong, pub sp: c_ulong, pub ss: c_ulong, pub fs_base: c_ulong, pub gs_base: c_ulong, pub ds: c_ulong, pub es: c_ulong, pub fs: c_ulong, pub gs: c_ulong,
}

Fields§

§r15: c_ulong§r14: c_ulong§r13: c_ulong§r12: c_ulong§rbp: c_ulong§rbx: c_ulong§r11: c_ulong§r10: c_ulong§r9: c_ulong§r8: c_ulong§rax: c_ulong§rcx: c_ulong§rdx: c_ulong§rsi: c_ulong§rdi: c_ulong§orig_rax: c_ulong§rip: c_ulong§cs: c_ulong§flags: c_ulong§sp: c_ulong§ss: c_ulong§fs_base: c_ulong§gs_base: c_ulong§ds: c_ulong§es: c_ulong§fs: c_ulong§gs: c_ulong

Trait Implementations§

Source§

impl Debug for user_regs_struct

Source§

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

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

impl Default for user_regs_struct

Source§

fn default() -> user_regs_struct

Returns the “default value” for a type. 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> 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.