Struct sigcontext

Source
#[repr(C)]
pub struct sigcontext {
Show 28 fields pub gs: c_ushort, pub __gsh: c_ushort, pub fs: c_ushort, pub __fsh: c_ushort, pub es: c_ushort, pub __esh: c_ushort, pub ds: c_ushort, pub __dsh: c_ushort, pub edi: c_ulong, pub esi: c_ulong, pub ebp: c_ulong, pub esp: c_ulong, pub ebx: c_ulong, pub edx: c_ulong, pub ecx: c_ulong, pub eax: c_ulong, pub trapno: c_ulong, pub err: c_ulong, pub eip: c_ulong, pub cs: c_ushort, pub __csh: c_ushort, pub eflags: c_ulong, pub esp_at_signal: c_ulong, pub ss: c_ushort, pub __ssh: c_ushort, pub fpstate: *mut _fpstate, pub oldmask: c_ulong, pub cr2: c_ulong,
}

Fields§

§gs: c_ushort§__gsh: c_ushort§fs: c_ushort§__fsh: c_ushort§es: c_ushort§__esh: c_ushort§ds: c_ushort§__dsh: c_ushort§edi: c_ulong§esi: c_ulong§ebp: c_ulong§esp: c_ulong§ebx: c_ulong§edx: c_ulong§ecx: c_ulong§eax: c_ulong§trapno: c_ulong§err: c_ulong§eip: c_ulong§cs: c_ushort§__csh: c_ushort§eflags: c_ulong§esp_at_signal: c_ulong§ss: c_ushort§__ssh: c_ushort§fpstate: *mut _fpstate§oldmask: c_ulong§cr2: c_ulong

Trait Implementations§

Source§

impl Clone for sigcontext

Source§

fn clone(&self) -> sigcontext

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 sigcontext

Source§

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

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

impl Copy for sigcontext

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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.