Struct starnix_uapi::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, linux_uapi::::x86_64::{impl#447}::{constant#1}>: ShouldBe<false>,
impl IntoBytes for sigcontext_64where
u64: IntoBytes,
u16: IntoBytes,
[u64; 8]: IntoBytes,
HasPadding<sigcontext_64, linux_uapi::::x86_64::{impl#447}::{constant#1}>: 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