#[repr(C)]pub struct kvm_vmx_nested_state_hdr__bindgen_ty_1 {
pub flags: __u16,
}Available on x86-64 only.
Fields§
§flags: __u16Trait Implementations§
Source§impl Clone for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl Clone for kvm_vmx_nested_state_hdr__bindgen_ty_1
Source§fn clone(&self) -> kvm_vmx_nested_state_hdr__bindgen_ty_1
fn clone(&self) -> kvm_vmx_nested_state_hdr__bindgen_ty_1
Returns a duplicate 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 Default for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl Default for kvm_vmx_nested_state_hdr__bindgen_ty_1
Source§fn default() -> kvm_vmx_nested_state_hdr__bindgen_ty_1
fn default() -> kvm_vmx_nested_state_hdr__bindgen_ty_1
Returns the “default value” for a type. Read more
Source§impl FromBytes for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl FromBytes for kvm_vmx_nested_state_hdr__bindgen_ty_1
Source§impl IntoBytes for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl IntoBytes for kvm_vmx_nested_state_hdr__bindgen_ty_1
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 PartialEq for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl PartialEq for kvm_vmx_nested_state_hdr__bindgen_ty_1
Source§fn eq(&self, other: &kvm_vmx_nested_state_hdr__bindgen_ty_1) -> bool
fn eq(&self, other: &kvm_vmx_nested_state_hdr__bindgen_ty_1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFromBytes for kvm_vmx_nested_state_hdr__bindgen_ty_1where
__u16: TryFromBytes,
impl TryFromBytes for kvm_vmx_nested_state_hdr__bindgen_ty_1where
__u16: TryFromBytes,
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 Copy for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl Immutable for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl StructuralPartialEq for kvm_vmx_nested_state_hdr__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl RefUnwindSafe for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl Send for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl Sync for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl Unpin for kvm_vmx_nested_state_hdr__bindgen_ty_1
impl UnwindSafe for kvm_vmx_nested_state_hdr__bindgen_ty_1
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