Struct ndk_sys::sigcontext

source ·
#[repr(C)]
pub struct sigcontext {
Show 21 fields pub trap_no: c_ulong, pub error_code: c_ulong, pub oldmask: c_ulong, pub arm_r0: c_ulong, pub arm_r1: c_ulong, pub arm_r2: c_ulong, pub arm_r3: c_ulong, pub arm_r4: c_ulong, pub arm_r5: c_ulong, pub arm_r6: c_ulong, pub arm_r7: c_ulong, pub arm_r8: c_ulong, pub arm_r9: c_ulong, pub arm_r10: c_ulong, pub arm_fp: c_ulong, pub arm_ip: c_ulong, pub arm_sp: c_ulong, pub arm_lr: c_ulong, pub arm_pc: c_ulong, pub arm_cpsr: c_ulong, pub fault_address: c_ulong,
}

Fields§

§trap_no: c_ulong§error_code: c_ulong§oldmask: c_ulong§arm_r0: c_ulong§arm_r1: c_ulong§arm_r2: c_ulong§arm_r3: c_ulong§arm_r4: c_ulong§arm_r5: c_ulong§arm_r6: c_ulong§arm_r7: c_ulong§arm_r8: c_ulong§arm_r9: c_ulong§arm_r10: c_ulong§arm_fp: c_ulong§arm_ip: c_ulong§arm_sp: c_ulong§arm_lr: c_ulong§arm_pc: c_ulong§arm_cpsr: c_ulong§fault_address: 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> 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,

§

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

§

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

§

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.