Struct x86defs::vmx::InterruptionInformation
source · pub struct InterruptionInformation(/* private fields */);
Implementations§
source§impl InterruptionInformation
impl InterruptionInformation
sourcepub const fn with_vector(self, value: u8) -> Self
pub const fn with_vector(self, value: u8) -> Self
Bits: 0..8
sourcepub fn set_vector(&mut self, value: u8)
pub fn set_vector(&mut self, value: u8)
Bits: 0..8
sourcepub const fn interruption_type(&self) -> u8
pub const fn interruption_type(&self) -> u8
Bits: 8..11
sourcepub const fn with_interruption_type(self, value: u8) -> Self
pub const fn with_interruption_type(self, value: u8) -> Self
Bits: 8..11
sourcepub fn set_interruption_type(&mut self, value: u8)
pub fn set_interruption_type(&mut self, value: u8)
Bits: 8..11
sourcepub const fn deliver_error_code(&self) -> bool
pub const fn deliver_error_code(&self) -> bool
Bits: 11..12
sourcepub const fn with_deliver_error_code(self, value: bool) -> Self
pub const fn with_deliver_error_code(self, value: bool) -> Self
Bits: 11..12
sourcepub fn set_deliver_error_code(&mut self, value: bool)
pub fn set_deliver_error_code(&mut self, value: bool)
Bits: 11..12
sourcepub const fn with_reserved(self, value: u32) -> Self
pub const fn with_reserved(self, value: u32) -> Self
Bits: 12..31
sourcepub fn set_reserved(&mut self, value: u32)
pub fn set_reserved(&mut self, value: u32)
Bits: 12..31
sourcepub const fn with_valid(self, value: bool) -> Self
pub const fn with_valid(self, value: bool) -> Self
Bits: 31..32
Trait Implementations§
source§impl Clone for InterruptionInformation
impl Clone for InterruptionInformation
source§fn clone(&self) -> InterruptionInformation
fn clone(&self) -> InterruptionInformation
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 InterruptionInformation
impl Debug for InterruptionInformation
source§impl Default for InterruptionInformation
impl Default for InterruptionInformation
source§impl From<InterruptionInformation> for u32
impl From<InterruptionInformation> for u32
source§fn from(v: InterruptionInformation) -> u32
fn from(v: InterruptionInformation) -> u32
Converts to this type from the input type.
source§impl From<u32> for InterruptionInformation
impl From<u32> for InterruptionInformation
impl Copy for InterruptionInformation
Auto Trait Implementations§
impl Freeze for InterruptionInformation
impl RefUnwindSafe for InterruptionInformation
impl Send for InterruptionInformation
impl Sync for InterruptionInformation
impl Unpin for InterruptionInformation
impl UnwindSafe for InterruptionInformation
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
)