[][src]Enum nvml_wrapper::enum_wrappers::device::Clock

pub enum Clock {
    Graphics,
    SM,
    Memory,
    Video,
}

Clock types. All speeds are in MHz.

Variants

Graphics

Graphics clock domain.

SM

SM (Streaming Multiprocessor) clock domain.

What AMD calls a CU (Compute Unit) can be compared to this.

Memory

Memory clock domain.

Video

Video encoder/decoder clock domain.

Implementations

impl Clock[src]

pub fn as_c(&self) -> nvmlClockType_enum[src]

Returns the C enum variant equivalent for the given Rust enum variant

Trait Implementations

impl Clone for Clock[src]

impl Debug for Clock[src]

impl Eq for Clock[src]

impl Hash for Clock[src]

impl PartialEq<Clock> for Clock[src]

impl StructuralEq for Clock[src]

impl StructuralPartialEq for Clock[src]

impl TryFrom<u32> for Clock[src]

type Error = NvmlError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Clock

impl Send for Clock

impl Sync for Clock

impl Unpin for Clock

impl UnwindSafe for Clock

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.