#[repr(C)]pub struct kvm_fpu {
pub fpr: [[u8; 16]; 8],
pub fcw: u16,
pub fsw: u16,
pub ftwx: u8,
pub pad1: u8,
pub last_opcode: u16,
pub last_ip: u64,
pub last_dp: u64,
pub xmm: [[u8; 16]; 16],
pub mxcsr: u32,
pub pad2: u32,
}
Fields§
§fpr: [[u8; 16]; 8]
§fcw: u16
§fsw: u16
§ftwx: u8
§pad1: u8
§last_opcode: u16
§last_ip: u64
§last_dp: u64
§xmm: [[u8; 16]; 16]
§mxcsr: u32
§pad2: u32
Trait Implementations§
source§impl AsBytes for kvm_fpuwhere
[[u8; 16]; 8]: AsBytes,
u16: AsBytes,
u8: AsBytes,
u64: AsBytes,
[[u8; 16]; 16]: AsBytes,
u32: AsBytes,
HasPadding<kvm_fpu, { _ }>: ShouldBe<{ _ }>,
impl AsBytes for kvm_fpuwhere [[u8; 16]; 8]: AsBytes, u16: AsBytes, u8: AsBytes, u64: AsBytes, [[u8; 16]; 16]: AsBytes, u32: AsBytes, HasPadding<kvm_fpu, { _ }>: ShouldBe<{ _ }>,
§fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>
fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>
source§impl FromBytes for kvm_fpuwhere
[[u8; 16]; 8]: FromBytes,
u16: FromBytes,
u8: FromBytes,
u64: FromBytes,
[[u8; 16]; 16]: FromBytes,
u32: FromBytes,
impl FromBytes for kvm_fpuwhere [[u8; 16]; 8]: FromBytes, u16: FromBytes, u8: FromBytes, u64: FromBytes, [[u8; 16]; 16]: FromBytes, u32: FromBytes,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where Self: Sized,
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,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where Self: Sized,
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 + AsBytes,
fn mut_slice_from_prefix( bytes: &mut [u8], count: usize ) -> Option<(&mut [Self], &mut [u8])>where Self: Sized + AsBytes,
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 + AsBytes,
fn mut_slice_from_suffix( bytes: &mut [u8], count: usize ) -> Option<(&mut [u8], &mut [Self])>where Self: Sized + AsBytes,
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 FromZeroes for kvm_fpuwhere
[[u8; 16]; 8]: FromZeroes,
u16: FromZeroes,
u8: FromZeroes,
u64: FromZeroes,
[[u8; 16]; 16]: FromZeroes,
u32: FromZeroes,
impl FromZeroes for kvm_fpuwhere [[u8; 16]; 8]: FromZeroes, u16: FromZeroes, u8: FromZeroes, u64: FromZeroes, [[u8; 16]; 16]: FromZeroes, u32: FromZeroes,
impl Copy for kvm_fpu
Auto Trait Implementations§
impl RefUnwindSafe for kvm_fpu
impl Send for kvm_fpu
impl Sync for kvm_fpu
impl Unpin for kvm_fpu
impl UnwindSafe for kvm_fpu
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