Struct hvdef::hypercall::HvGuestOsOpenSourceType
source · #[repr(transparent)]pub struct HvGuestOsOpenSourceType(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl HvGuestOsOpenSourceType
impl HvGuestOsOpenSourceType
pub const UNDEFINED: HvGuestOsOpenSourceType = _
pub const LINUX: HvGuestOsOpenSourceType = _
pub const FREEBSD: HvGuestOsOpenSourceType = _
pub const XEN: HvGuestOsOpenSourceType = _
pub const ILLUMOS: HvGuestOsOpenSourceType = _
Trait Implementations§
source§impl Clone for HvGuestOsOpenSourceType
impl Clone for HvGuestOsOpenSourceType
source§fn clone(&self) -> HvGuestOsOpenSourceType
fn clone(&self) -> HvGuestOsOpenSourceType
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 HvGuestOsOpenSourceType
impl Debug for HvGuestOsOpenSourceType
source§impl Default for HvGuestOsOpenSourceType
impl Default for HvGuestOsOpenSourceType
source§fn default() -> HvGuestOsOpenSourceType
fn default() -> HvGuestOsOpenSourceType
Returns the “default value” for a type. Read more
source§impl Hash for HvGuestOsOpenSourceType
impl Hash for HvGuestOsOpenSourceType
source§impl Ord for HvGuestOsOpenSourceType
impl Ord for HvGuestOsOpenSourceType
source§fn cmp(&self, other: &HvGuestOsOpenSourceType) -> Ordering
fn cmp(&self, other: &HvGuestOsOpenSourceType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for HvGuestOsOpenSourceType
impl PartialEq for HvGuestOsOpenSourceType
source§impl PartialOrd for HvGuestOsOpenSourceType
impl PartialOrd for HvGuestOsOpenSourceType
impl Copy for HvGuestOsOpenSourceType
impl Eq for HvGuestOsOpenSourceType
impl StructuralPartialEq for HvGuestOsOpenSourceType
Auto Trait Implementations§
impl Freeze for HvGuestOsOpenSourceType
impl RefUnwindSafe for HvGuestOsOpenSourceType
impl Send for HvGuestOsOpenSourceType
impl Sync for HvGuestOsOpenSourceType
impl Unpin for HvGuestOsOpenSourceType
impl UnwindSafe for HvGuestOsOpenSourceType
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
)