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_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_call_offset_checked(self, value: u16) -> Result<Self, ()>
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 const fn set_call_offset(&mut self, value: u16)
pub const 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_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_return_offset_checked(self, value: u16) -> Result<Self, ()>
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 const fn set_return_offset(&mut self, value: u16)
pub const fn set_return_offset(&mut self, value: u16)
Bits: 12..24
Sourcepub const fn with_reserved_checked(self, value: u64) -> Result<Self, ()>
pub const fn with_reserved_checked(self, value: u64) -> Result<Self, ()>
Bits: 24..64
Sourcepub const fn with_reserved(self, value: u64) -> Self
pub const fn with_reserved(self, value: u64) -> Self
Bits: 24..64
Sourcepub const fn set_reserved(&mut self, value: u64)
pub const 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 duplicate 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