#[repr(C)]pub struct kvm_xsave {
pub region: [__u32; 1024],
pub extra: __IncompleteArrayField<__u32>,
}
Available on x86-64 only.
Fields§
§region: [__u32; 1024]
§extra: __IncompleteArrayField<__u32>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for kvm_xsave
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for kvm_xsave
Available on crate feature
serde
only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<kvm_xsave> for kvm_xsave2
Available on crate feature fam-wrappers
only.
impl From<kvm_xsave> for kvm_xsave2
Available on crate feature
fam-wrappers
only.Source§impl FromBytes for kvm_xsave
impl FromBytes for kvm_xsave
Source§impl IntoBytes for kvm_xsave
impl IntoBytes for kvm_xsave
Source§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl TryFromBytes for kvm_xsave
impl TryFromBytes for kvm_xsave
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Immutable for kvm_xsave
Auto Trait Implementations§
impl Freeze for kvm_xsave
impl RefUnwindSafe for kvm_xsave
impl Send for kvm_xsave
impl Sync for kvm_xsave
impl Unpin for kvm_xsave
impl UnwindSafe for kvm_xsave
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