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