[−][src]Enum nvml_wrapper::enum_wrappers::device::OperationMode
GPU operation mode.
Allows for the reduction of power usage and optimization of GPU throughput by disabling GPU features. Each mode is designed to meet specific needs.
Variants
Everything is enabled and running at full speed.
Designed for running only compute tasks; disables graphics operations.
Designed for running graphics applications that don't require high bandwidth double precision.
Implementations
impl OperationMode[src]
pub fn as_c(&self) -> nvmlGom_enum[src]
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations
impl Clone for OperationMode[src]
pub fn clone(&self) -> OperationMode[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for OperationMode[src]
impl Eq for OperationMode[src]
impl Hash for OperationMode[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<OperationMode> for OperationMode[src]
pub fn eq(&self, other: &OperationMode) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for OperationMode[src]
impl StructuralPartialEq for OperationMode[src]
impl TryFrom<u32> for OperationMode[src]
Auto Trait Implementations
impl RefUnwindSafe for OperationMode
impl Send for OperationMode
impl Sync for OperationMode
impl Unpin for OperationMode
impl UnwindSafe for OperationMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,