Struct minidump_writer::minidump_format::format::XSTATE_FEATURE
source · pub struct XSTATE_FEATURE {
pub offset: u32,
pub size: u32,
}
Expand description
The offset and size of each XSAVE entry inside the XSAVE context.
Fields§
§offset: u32
This entry’s offset from the start of the context (in bytes).
NOTE: THIS VALUE IS A LIE. At least on AMD64 you need to add 256
to this! See the docs of XSTATE_CONFIG_FEATURE_MSC_INFO
.
size: u32
This entry’s size (in bytes).
Trait Implementations§
source§impl Clone for XSTATE_FEATURE
impl Clone for XSTATE_FEATURE
source§fn clone(&self) -> XSTATE_FEATURE
fn clone(&self) -> XSTATE_FEATURE
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 XSTATE_FEATURE
impl Debug for XSTATE_FEATURE
source§impl Default for XSTATE_FEATURE
impl Default for XSTATE_FEATURE
source§fn default() -> XSTATE_FEATURE
fn default() -> XSTATE_FEATURE
Returns the “default value” for a type. Read more
source§impl From<u8> for XSTATE_FEATURE
impl From<u8> for XSTATE_FEATURE
source§fn from(_input: u8) -> XSTATE_FEATURE
fn from(_input: u8) -> XSTATE_FEATURE
Converts to this type from the input type.
source§impl PartialEq for XSTATE_FEATURE
impl PartialEq for XSTATE_FEATURE
source§fn eq(&self, other: &XSTATE_FEATURE) -> bool
fn eq(&self, other: &XSTATE_FEATURE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFromCtx<'a, Endian> for XSTATE_FEATUREwhere
XSTATE_FEATURE: 'a,
impl<'a> TryFromCtx<'a, Endian> for XSTATE_FEATUREwhere
XSTATE_FEATURE: 'a,
type Error = Error
fn try_from_ctx( src: &'a [u8], ctx: Endian ) -> Result<(XSTATE_FEATURE, usize), <XSTATE_FEATURE as TryFromCtx<'a, Endian>>::Error>
source§impl<'a> TryIntoCtx<Endian> for &'a XSTATE_FEATURE
impl<'a> TryIntoCtx<Endian> for &'a XSTATE_FEATURE
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian ) -> Result<usize, <&'a XSTATE_FEATURE as TryIntoCtx<Endian>>::Error>
source§impl TryIntoCtx<Endian> for XSTATE_FEATURE
impl TryIntoCtx<Endian> for XSTATE_FEATURE
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian ) -> Result<usize, <XSTATE_FEATURE as TryIntoCtx<Endian>>::Error>
impl Copy for XSTATE_FEATURE
impl Eq for XSTATE_FEATURE
impl StructuralPartialEq for XSTATE_FEATURE
Auto Trait Implementations§
impl Freeze for XSTATE_FEATURE
impl RefUnwindSafe for XSTATE_FEATURE
impl Send for XSTATE_FEATURE
impl Sync for XSTATE_FEATURE
impl Unpin for XSTATE_FEATURE
impl UnwindSafe for XSTATE_FEATURE
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