Struct hvdef::hypercall::HvGuestOsId
source · pub struct HvGuestOsId(/* private fields */);
Implementations§
source§impl HvGuestOsId
impl HvGuestOsId
source§impl HvGuestOsId
impl HvGuestOsId
pub fn microsoft(&self) -> Option<HvGuestOsMicrosoft>
pub fn open_source(&self) -> Option<HvGuestOsOpenSource>
pub fn as_u64(&self) -> u64
Trait Implementations§
source§impl Clone for HvGuestOsId
impl Clone for HvGuestOsId
source§fn clone(&self) -> HvGuestOsId
fn clone(&self) -> HvGuestOsId
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 HvGuestOsId
impl Debug for HvGuestOsId
source§impl Default for HvGuestOsId
impl Default for HvGuestOsId
source§impl From<HvGuestOsId> for u64
impl From<HvGuestOsId> for u64
source§fn from(v: HvGuestOsId) -> u64
fn from(v: HvGuestOsId) -> u64
Converts to this type from the input type.
source§impl From<u64> for HvGuestOsId
impl From<u64> for HvGuestOsId
impl Copy for HvGuestOsId
Auto Trait Implementations§
impl Freeze for HvGuestOsId
impl RefUnwindSafe for HvGuestOsId
impl Send for HvGuestOsId
impl Sync for HvGuestOsId
impl Unpin for HvGuestOsId
impl UnwindSafe for HvGuestOsId
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
)