#[repr(C)]pub struct VcpuEvents {
pub pending_interruption: u64,
pub interrupt_state: u64,
pub internal_activity_state: u64,
pub pending_event0: [u8; 16],
pub pending_event1: [u8; 16],
}Fields§
§pending_interruption: u64§interrupt_state: u64§internal_activity_state: u64§pending_event0: [u8; 16]§pending_event1: [u8; 16]Trait Implementations§
source§impl AsBytes for VcpuEvents
impl AsBytes for VcpuEvents
source§impl Clone for VcpuEvents
impl Clone for VcpuEvents
source§fn clone(&self) -> VcpuEvents
fn clone(&self) -> VcpuEvents
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 Debug for VcpuEvents
impl Debug for VcpuEvents
source§impl Default for VcpuEvents
impl Default for VcpuEvents
source§fn default() -> VcpuEvents
fn default() -> VcpuEvents
Returns the “default value” for a type. Read more
source§impl FromBytes for VcpuEvents
impl FromBytes for VcpuEvents
source§fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
source§fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
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(bytes: &mut [u8]) -> Option<&mut [Self]>
fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>
source§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 VcpuEvents
impl FromZeroes for VcpuEvents
source§impl PartialEq for VcpuEvents
impl PartialEq for VcpuEvents
impl Copy for VcpuEvents
impl Eq for VcpuEvents
impl StructuralPartialEq for VcpuEvents
Auto Trait Implementations§
impl Freeze for VcpuEvents
impl RefUnwindSafe for VcpuEvents
impl Send for VcpuEvents
impl Sync for VcpuEvents
impl Unpin for VcpuEvents
impl UnwindSafe for VcpuEvents
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)