#[repr(C)]pub struct kvm_vcpu_events__bindgen_ty_2 {
pub injected: __u8,
pub nr: __u8,
pub soft: __u8,
pub shadow: __u8,
}
Available on x86-64 only.
Fields§
§injected: __u8
§nr: __u8
§soft: __u8
§shadow: __u8
Trait Implementations§
source§impl AsBytes for kvm_vcpu_events__bindgen_ty_2
impl AsBytes for kvm_vcpu_events__bindgen_ty_2
source§impl Clone for kvm_vcpu_events__bindgen_ty_2
impl Clone for kvm_vcpu_events__bindgen_ty_2
source§fn clone(&self) -> kvm_vcpu_events__bindgen_ty_2
fn clone(&self) -> kvm_vcpu_events__bindgen_ty_2
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 Default for kvm_vcpu_events__bindgen_ty_2
impl Default for kvm_vcpu_events__bindgen_ty_2
source§fn default() -> kvm_vcpu_events__bindgen_ty_2
fn default() -> kvm_vcpu_events__bindgen_ty_2
Returns the “default value” for a type. Read more
source§impl FromBytes for kvm_vcpu_events__bindgen_ty_2
impl FromBytes for kvm_vcpu_events__bindgen_ty_2
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_vcpu_events__bindgen_ty_2where
__u8: FromZeroes,
impl FromZeroes for kvm_vcpu_events__bindgen_ty_2where
__u8: FromZeroes,
source§impl PartialEq for kvm_vcpu_events__bindgen_ty_2
impl PartialEq for kvm_vcpu_events__bindgen_ty_2
source§fn eq(&self, other: &kvm_vcpu_events__bindgen_ty_2) -> bool
fn eq(&self, other: &kvm_vcpu_events__bindgen_ty_2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for kvm_vcpu_events__bindgen_ty_2
impl StructuralPartialEq for kvm_vcpu_events__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for kvm_vcpu_events__bindgen_ty_2
impl RefUnwindSafe for kvm_vcpu_events__bindgen_ty_2
impl Send for kvm_vcpu_events__bindgen_ty_2
impl Sync for kvm_vcpu_events__bindgen_ty_2
impl Unpin for kvm_vcpu_events__bindgen_ty_2
impl UnwindSafe for kvm_vcpu_events__bindgen_ty_2
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