Struct linux_uapi::x86_64::sigcontext_64
source · #[repr(C)]pub struct sigcontext_64 {Show 28 fields
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 di: __u64,
pub si: __u64,
pub bp: __u64,
pub bx: __u64,
pub dx: __u64,
pub ax: __u64,
pub cx: __u64,
pub sp: __u64,
pub ip: __u64,
pub flags: __u64,
pub cs: __u16,
pub gs: __u16,
pub fs: __u16,
pub ss: __u16,
pub err: __u64,
pub trapno: __u64,
pub oldmask: __u64,
pub cr2: __u64,
pub fpstate: __u64,
pub reserved1: [__u64; 8],
}
Fields§
§r8: __u64
§r9: __u64
§r10: __u64
§r11: __u64
§r12: __u64
§r13: __u64
§r14: __u64
§r15: __u64
§di: __u64
§si: __u64
§bp: __u64
§bx: __u64
§dx: __u64
§ax: __u64
§cx: __u64
§sp: __u64
§ip: __u64
§flags: __u64
§cs: __u16
§gs: __u16
§fs: __u16
§ss: __u16
§err: __u64
§trapno: __u64
§oldmask: __u64
§cr2: __u64
§fpstate: __u64
§reserved1: [__u64; 8]
Trait Implementations§
source§impl Clone for sigcontext_64
impl Clone for sigcontext_64
source§fn clone(&self) -> sigcontext_64
fn clone(&self) -> sigcontext_64
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for sigcontext_64
impl Debug for sigcontext_64
source§impl Default for sigcontext_64
impl Default for sigcontext_64
source§fn default() -> sigcontext_64
fn default() -> sigcontext_64
Returns the “default value” for a type. Read more
source§impl FromBytes for sigcontext_64
impl FromBytes for sigcontext_64
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for sigcontext_64
impl FromZeros for sigcontext_64
source§impl IntoBytes for sigcontext_64where
__u64: IntoBytes,
__u16: IntoBytes,
[__u64; 8]: IntoBytes,
HasPadding<sigcontext_64, { _ }>: ShouldBe<false>,
impl IntoBytes for sigcontext_64where
__u64: IntoBytes,
__u16: IntoBytes,
[__u64; 8]: IntoBytes,
HasPadding<sigcontext_64, { _ }>: ShouldBe<false>,
impl Copy for sigcontext_64
Auto Trait Implementations§
impl Freeze for sigcontext_64
impl RefUnwindSafe for sigcontext_64
impl Send for sigcontext_64
impl Sync for sigcontext_64
impl Unpin for sigcontext_64
impl UnwindSafe for sigcontext_64
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more