Struct hvdef::hypercall::HvGuestOsMicrosoft
source · pub struct HvGuestOsMicrosoft(/* private fields */);
Implementations§
source§impl HvGuestOsMicrosoft
impl HvGuestOsMicrosoft
sourcepub const fn with_os_id(self, value: u8) -> Self
pub const fn with_os_id(self, value: u8) -> Self
Bits: 40..48
sourcepub const fn with_vendor_id(self, value: u16) -> Self
pub const fn with_vendor_id(self, value: u16) -> Self
Bits: 48..64
sourcepub fn set_vendor_id(&mut self, value: u16)
pub fn set_vendor_id(&mut self, value: u16)
Bits: 48..64
Trait Implementations§
source§impl Clone for HvGuestOsMicrosoft
impl Clone for HvGuestOsMicrosoft
source§fn clone(&self) -> HvGuestOsMicrosoft
fn clone(&self) -> HvGuestOsMicrosoft
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 HvGuestOsMicrosoft
impl Debug for HvGuestOsMicrosoft
source§impl Default for HvGuestOsMicrosoft
impl Default for HvGuestOsMicrosoft
source§impl From<HvGuestOsMicrosoft> for u64
impl From<HvGuestOsMicrosoft> for u64
source§fn from(v: HvGuestOsMicrosoft) -> u64
fn from(v: HvGuestOsMicrosoft) -> u64
Converts to this type from the input type.
source§impl From<u64> for HvGuestOsMicrosoft
impl From<u64> for HvGuestOsMicrosoft
impl Copy for HvGuestOsMicrosoft
Auto Trait Implementations§
impl Freeze for HvGuestOsMicrosoft
impl RefUnwindSafe for HvGuestOsMicrosoft
impl Send for HvGuestOsMicrosoft
impl Sync for HvGuestOsMicrosoft
impl Unpin for HvGuestOsMicrosoft
impl UnwindSafe for HvGuestOsMicrosoft
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
)