Struct hvdef::HvX64PendingHypercallOutputEvent
source · pub struct HvX64PendingHypercallOutputEvent(/* private fields */);
Implementations§
source§impl HvX64PendingHypercallOutputEvent
impl HvX64PendingHypercallOutputEvent
sourcepub const fn event_pending(&self) -> bool
pub const fn event_pending(&self) -> bool
Bits: 0..1
sourcepub const fn with_event_pending(self, value: bool) -> Self
pub const fn with_event_pending(self, value: bool) -> Self
Bits: 0..1
sourcepub fn set_event_pending(&mut self, value: bool)
pub fn set_event_pending(&mut self, value: bool)
Bits: 0..1
sourcepub const fn event_type(&self) -> u8
pub const fn event_type(&self) -> u8
Bits: 1..4
sourcepub const fn with_event_type(self, value: u8) -> Self
pub const fn with_event_type(self, value: u8) -> Self
Bits: 1..4
sourcepub fn set_event_type(&mut self, value: u8)
pub fn set_event_type(&mut self, value: u8)
Bits: 1..4
sourcepub const fn with_reserved0(self, value: u8) -> Self
pub const fn with_reserved0(self, value: u8) -> Self
Bits: 4..8
sourcepub fn set_reserved0(&mut self, value: u8)
pub fn set_reserved0(&mut self, value: u8)
Bits: 4..8
sourcepub const fn with_retired(self, value: bool) -> Self
pub const fn with_retired(self, value: bool) -> Self
Bits: 8..9
sourcepub fn set_retired(&mut self, value: bool)
pub fn set_retired(&mut self, value: bool)
Bits: 8..9
sourcepub const fn with_reserved1(self, value: u32) -> Self
pub const fn with_reserved1(self, value: u32) -> Self
Bits: 9..32
sourcepub fn set_reserved1(&mut self, value: u32)
pub fn set_reserved1(&mut self, value: u32)
Bits: 9..32
sourcepub const fn output_size(&self) -> u32
pub const fn output_size(&self) -> u32
Bits: 32..64
sourcepub const fn with_output_size(self, value: u32) -> Self
pub const fn with_output_size(self, value: u32) -> Self
Bits: 32..64
sourcepub fn set_output_size(&mut self, value: u32)
pub fn set_output_size(&mut self, value: u32)
Bits: 32..64
sourcepub const fn output_gpa(&self) -> u64
pub const fn output_gpa(&self) -> u64
Bits: 64..128
sourcepub const fn with_output_gpa(self, value: u64) -> Self
pub const fn with_output_gpa(self, value: u64) -> Self
Bits: 64..128
sourcepub fn set_output_gpa(&mut self, value: u64)
pub fn set_output_gpa(&mut self, value: u64)
Bits: 64..128
Trait Implementations§
source§impl Clone for HvX64PendingHypercallOutputEvent
impl Clone for HvX64PendingHypercallOutputEvent
source§fn clone(&self) -> HvX64PendingHypercallOutputEvent
fn clone(&self) -> HvX64PendingHypercallOutputEvent
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 From<HvX64PendingHypercallOutputEvent> for u128
impl From<HvX64PendingHypercallOutputEvent> for u128
source§fn from(v: HvX64PendingHypercallOutputEvent) -> u128
fn from(v: HvX64PendingHypercallOutputEvent) -> u128
Converts to this type from the input type.
source§impl From<u128> for HvX64PendingHypercallOutputEvent
impl From<u128> for HvX64PendingHypercallOutputEvent
impl Copy for HvX64PendingHypercallOutputEvent
Auto Trait Implementations§
impl Freeze for HvX64PendingHypercallOutputEvent
impl RefUnwindSafe for HvX64PendingHypercallOutputEvent
impl Send for HvX64PendingHypercallOutputEvent
impl Sync for HvX64PendingHypercallOutputEvent
impl Unpin for HvX64PendingHypercallOutputEvent
impl UnwindSafe for HvX64PendingHypercallOutputEvent
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
)