pub struct FLOATING_SAVE_AREA_X86 {
pub control_word: u32,
pub status_word: u32,
pub tag_word: u32,
pub error_offset: u32,
pub error_selector: u32,
pub data_offset: u32,
pub data_selector: u32,
pub register_area: [u8; 80],
pub cr0_npx_state: u32,
}
Expand description
x86 floating point state
This struct matches the definition of the FLOATING_SAVE_AREA
struct from WinNT.h.
Fields
control_word: u32
status_word: u32
tag_word: u32
error_offset: u32
error_selector: u32
data_offset: u32
data_selector: u32
register_area: [u8; 80]
cr0_npx_state: u32
Trait Implementations
sourceimpl Clone for FLOATING_SAVE_AREA_X86
impl Clone for FLOATING_SAVE_AREA_X86
sourcefn clone(&self) -> FLOATING_SAVE_AREA_X86
fn clone(&self) -> FLOATING_SAVE_AREA_X86
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FLOATING_SAVE_AREA_X86
impl Debug for FLOATING_SAVE_AREA_X86
sourceimpl Default for FLOATING_SAVE_AREA_X86
impl Default for FLOATING_SAVE_AREA_X86
sourcefn default() -> FLOATING_SAVE_AREA_X86
fn default() -> FLOATING_SAVE_AREA_X86
Return FLOATING_SAVE_AREA_X86 { control_word: Default::default(), status_word: Default::default(), tag_word: Default::default(), error_offset: Default::default(), error_selector: Default::default(), data_offset: Default::default(), data_selector: Default::default(), register_area: [0 ; 80], cr0_npx_state: Default::default() }
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for FLOATING_SAVE_AREA_X86 where
FLOATING_SAVE_AREA_X86: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for FLOATING_SAVE_AREA_X86 where
FLOATING_SAVE_AREA_X86: 'a,
type Error = Error
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(FLOATING_SAVE_AREA_X86, usize), <FLOATING_SAVE_AREA_X86 as TryFromCtx<'a, Endian, [u8]>>::Error>
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a FLOATING_SAVE_AREA_X86
impl<'a> TryIntoCtx<Endian, [u8]> for &'a FLOATING_SAVE_AREA_X86
type Error = Error
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<usize, <&'a FLOATING_SAVE_AREA_X86 as TryIntoCtx<Endian, [u8]>>::Error>
sourceimpl TryIntoCtx<Endian, [u8]> for FLOATING_SAVE_AREA_X86
impl TryIntoCtx<Endian, [u8]> for FLOATING_SAVE_AREA_X86
type Error = Error
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<usize, <FLOATING_SAVE_AREA_X86 as TryIntoCtx<Endian, [u8]>>::Error>
Auto Trait Implementations
impl RefUnwindSafe for FLOATING_SAVE_AREA_X86
impl Send for FLOATING_SAVE_AREA_X86
impl Sync for FLOATING_SAVE_AREA_X86
impl Unpin for FLOATING_SAVE_AREA_X86
impl UnwindSafe for FLOATING_SAVE_AREA_X86
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more