pub enum HostVgpuMode {
NonSriov,
Sriov,
}Variants§
Implementations§
Source§impl HostVgpuMode
impl HostVgpuMode
Sourcepub fn as_c(&self) -> nvmlHostVgpuMode_enum
pub fn as_c(&self) -> nvmlHostVgpuMode_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
Source§impl Clone for HostVgpuMode
impl Clone for HostVgpuMode
Source§fn clone(&self) -> HostVgpuMode
fn clone(&self) -> HostVgpuMode
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 moreimpl Copy for HostVgpuMode
Source§impl Debug for HostVgpuMode
impl Debug for HostVgpuMode
impl Eq for HostVgpuMode
Source§impl Hash for HostVgpuMode
impl Hash for HostVgpuMode
Source§impl PartialEq for HostVgpuMode
impl PartialEq for HostVgpuMode
Source§fn eq(&self, other: &HostVgpuMode) -> bool
fn eq(&self, other: &HostVgpuMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HostVgpuMode
Auto Trait Implementations§
impl Freeze for HostVgpuMode
impl RefUnwindSafe for HostVgpuMode
impl Send for HostVgpuMode
impl Sync for HostVgpuMode
impl Unpin for HostVgpuMode
impl UnsafeUnpin for HostVgpuMode
impl UnwindSafe for HostVgpuMode
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