Struct hvdef::HvX64PendingExceptionEvent
source · pub struct HvX64PendingExceptionEvent(/* private fields */);
Implementations§
source§impl HvX64PendingExceptionEvent
impl HvX64PendingExceptionEvent
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 deliver_error_code(&self) -> bool
pub const fn deliver_error_code(&self) -> bool
Bits: 8..9
sourcepub const fn with_deliver_error_code(self, value: bool) -> Self
pub const fn with_deliver_error_code(self, value: bool) -> Self
Bits: 8..9
sourcepub fn set_deliver_error_code(&mut self, value: bool)
pub fn set_deliver_error_code(&mut self, value: bool)
Bits: 8..9
sourcepub const fn with_reserved1(self, value: u8) -> Self
pub const fn with_reserved1(self, value: u8) -> Self
Bits: 9..16
sourcepub fn set_reserved1(&mut self, value: u8)
pub fn set_reserved1(&mut self, value: u8)
Bits: 9..16
sourcepub const fn with_vector(self, value: u16) -> Self
pub const fn with_vector(self, value: u16) -> Self
Bits: 16..32
sourcepub fn set_vector(&mut self, value: u16)
pub fn set_vector(&mut self, value: u16)
Bits: 16..32
sourcepub const fn error_code(&self) -> u32
pub const fn error_code(&self) -> u32
Bits: 32..64
sourcepub const fn with_error_code(self, value: u32) -> Self
pub const fn with_error_code(self, value: u32) -> Self
Bits: 32..64
sourcepub fn set_error_code(&mut self, value: u32)
pub fn set_error_code(&mut self, value: u32)
Bits: 32..64
sourcepub const fn exception_parameter(&self) -> u64
pub const fn exception_parameter(&self) -> u64
Bits: 64..128
sourcepub const fn with_exception_parameter(self, value: u64) -> Self
pub const fn with_exception_parameter(self, value: u64) -> Self
Bits: 64..128
sourcepub fn set_exception_parameter(&mut self, value: u64)
pub fn set_exception_parameter(&mut self, value: u64)
Bits: 64..128
Trait Implementations§
source§impl Clone for HvX64PendingExceptionEvent
impl Clone for HvX64PendingExceptionEvent
source§fn clone(&self) -> HvX64PendingExceptionEvent
fn clone(&self) -> HvX64PendingExceptionEvent
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 HvX64PendingExceptionEvent
impl Debug for HvX64PendingExceptionEvent
source§impl Default for HvX64PendingExceptionEvent
impl Default for HvX64PendingExceptionEvent
source§impl From<HvX64PendingExceptionEvent> for HvX64PendingEvent
impl From<HvX64PendingExceptionEvent> for HvX64PendingEvent
source§fn from(exception_event: HvX64PendingExceptionEvent) -> Self
fn from(exception_event: HvX64PendingExceptionEvent) -> Self
Converts to this type from the input type.
source§impl From<HvX64PendingExceptionEvent> for u128
impl From<HvX64PendingExceptionEvent> for u128
source§fn from(v: HvX64PendingExceptionEvent) -> u128
fn from(v: HvX64PendingExceptionEvent) -> u128
Converts to this type from the input type.
source§impl From<u128> for HvX64PendingExceptionEvent
impl From<u128> for HvX64PendingExceptionEvent
impl Copy for HvX64PendingExceptionEvent
Auto Trait Implementations§
impl Freeze for HvX64PendingExceptionEvent
impl RefUnwindSafe for HvX64PendingExceptionEvent
impl Send for HvX64PendingExceptionEvent
impl Sync for HvX64PendingExceptionEvent
impl Unpin for HvX64PendingExceptionEvent
impl UnwindSafe for HvX64PendingExceptionEvent
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
)