Struct kvm_bindings::kvm_xcr
source · #[repr(C)]pub struct kvm_xcr {
pub xcr: __u32,
pub reserved: __u32,
pub value: __u64,
}
Available on x86-64 only.
Fields§
§xcr: __u32
§reserved: __u32
§value: __u64
Trait Implementations§
source§impl AsBytes for kvm_xcr
impl AsBytes for kvm_xcr
source§impl<'de> Deserialize<'de> for kvm_xcr
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for kvm_xcr
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 FromBytes for kvm_xcr
impl FromBytes for kvm_xcr
source§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 moresource§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 moresource§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>
fn mut_slice_from_prefix( bytes: &mut [u8], count: usize ) -> Option<(&mut [Self], &mut [u8])>
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read moresource§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>
fn mut_slice_from_suffix( bytes: &mut [u8], count: usize ) -> Option<(&mut [u8], &mut [Self])>
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read moresource§impl FromZeroes for kvm_xcr
impl FromZeroes for kvm_xcr
source§impl PartialEq for kvm_xcr
impl PartialEq for kvm_xcr
impl Copy for kvm_xcr
impl StructuralPartialEq for kvm_xcr
Auto Trait Implementations§
impl Freeze for kvm_xcr
impl RefUnwindSafe for kvm_xcr
impl Send for kvm_xcr
impl Sync for kvm_xcr
impl Unpin for kvm_xcr
impl UnwindSafe for kvm_xcr
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