Struct hvdef::HvRegisterVsmCodePageOffsets
source · pub struct HvRegisterVsmCodePageOffsets(/* private fields */);
Implementations§
source§impl HvRegisterVsmCodePageOffsets
impl HvRegisterVsmCodePageOffsets
sourcepub const fn call_offset(&self) -> u16
pub const fn call_offset(&self) -> u16
Bits: 0..12
sourcepub const fn with_call_offset(self, value: u16) -> Self
pub const fn with_call_offset(self, value: u16) -> Self
Bits: 0..12
sourcepub fn set_call_offset(&mut self, value: u16)
pub fn set_call_offset(&mut self, value: u16)
Bits: 0..12
sourcepub const fn return_offset(&self) -> u16
pub const fn return_offset(&self) -> u16
Bits: 12..24
sourcepub const fn with_return_offset(self, value: u16) -> Self
pub const fn with_return_offset(self, value: u16) -> Self
Bits: 12..24
sourcepub fn set_return_offset(&mut self, value: u16)
pub fn set_return_offset(&mut self, value: u16)
Bits: 12..24
sourcepub const fn with_reserved(self, value: u64) -> Self
pub const fn with_reserved(self, value: u64) -> Self
Bits: 24..64
sourcepub fn set_reserved(&mut self, value: u64)
pub fn set_reserved(&mut self, value: u64)
Bits: 24..64
Trait Implementations§
source§impl Clone for HvRegisterVsmCodePageOffsets
impl Clone for HvRegisterVsmCodePageOffsets
source§fn clone(&self) -> HvRegisterVsmCodePageOffsets
fn clone(&self) -> HvRegisterVsmCodePageOffsets
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 HvRegisterVsmCodePageOffsets
impl Debug for HvRegisterVsmCodePageOffsets
source§impl From<HvRegisterVsmCodePageOffsets> for u64
impl From<HvRegisterVsmCodePageOffsets> for u64
source§fn from(v: HvRegisterVsmCodePageOffsets) -> u64
fn from(v: HvRegisterVsmCodePageOffsets) -> u64
Converts to this type from the input type.
source§impl From<u64> for HvRegisterVsmCodePageOffsets
impl From<u64> for HvRegisterVsmCodePageOffsets
impl Copy for HvRegisterVsmCodePageOffsets
Auto Trait Implementations§
impl Freeze for HvRegisterVsmCodePageOffsets
impl RefUnwindSafe for HvRegisterVsmCodePageOffsets
impl Send for HvRegisterVsmCodePageOffsets
impl Sync for HvRegisterVsmCodePageOffsets
impl Unpin for HvRegisterVsmCodePageOffsets
impl UnwindSafe for HvRegisterVsmCodePageOffsets
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
)