#[repr(u32)]pub enum VgpuGuestInfoState {
Uninitialized = 0,
Initialized = 1,
}Variants§
Trait Implementations§
Source§impl Clone for VgpuGuestInfoState
impl Clone for VgpuGuestInfoState
Source§fn clone(&self) -> VgpuGuestInfoState
fn clone(&self) -> VgpuGuestInfoState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VgpuGuestInfoState
impl Debug for VgpuGuestInfoState
Source§impl From<VgpuGuestInfoState> for nvmlVgpuGuestInfoState_t
impl From<VgpuGuestInfoState> for nvmlVgpuGuestInfoState_t
Source§fn from(value: VgpuGuestInfoState) -> Self
fn from(value: VgpuGuestInfoState) -> Self
Converts to this type from the input type.
Source§impl From<VgpuGuestInfoState> for u32
impl From<VgpuGuestInfoState> for u32
Source§fn from(enum_value: VgpuGuestInfoState) -> Self
fn from(enum_value: VgpuGuestInfoState) -> Self
Converts to this type from the input type.
Source§impl From<nvmlVgpuGuestInfoState_enum> for VgpuGuestInfoState
impl From<nvmlVgpuGuestInfoState_enum> for VgpuGuestInfoState
Source§fn from(value: nvmlVgpuGuestInfoState_t) -> Self
fn from(value: nvmlVgpuGuestInfoState_t) -> Self
Converts to this type from the input type.
Source§impl Hash for VgpuGuestInfoState
impl Hash for VgpuGuestInfoState
Source§impl PartialEq for VgpuGuestInfoState
impl PartialEq for VgpuGuestInfoState
Source§fn eq(&self, other: &VgpuGuestInfoState) -> bool
fn eq(&self, other: &VgpuGuestInfoState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u32> for VgpuGuestInfoState
impl TryFrom<u32> for VgpuGuestInfoState
Source§type Error = TryFromPrimitiveError<VgpuGuestInfoState>
type Error = TryFromPrimitiveError<VgpuGuestInfoState>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for VgpuGuestInfoState
impl TryFromPrimitive for VgpuGuestInfoState
const NAME: &'static str = "VgpuGuestInfoState"
type Primitive = u32
type Error = TryFromPrimitiveError<VgpuGuestInfoState>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for VgpuGuestInfoState
impl Eq for VgpuGuestInfoState
impl StructuralPartialEq for VgpuGuestInfoState
Auto Trait Implementations§
impl Freeze for VgpuGuestInfoState
impl RefUnwindSafe for VgpuGuestInfoState
impl Send for VgpuGuestInfoState
impl Sync for VgpuGuestInfoState
impl Unpin for VgpuGuestInfoState
impl UnsafeUnpin for VgpuGuestInfoState
impl UnwindSafe for VgpuGuestInfoState
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