Enum nvml_wrapper::enum_wrappers::device::Clock
source · [−]pub enum Clock {
Graphics,
SM,
Memory,
Video,
}Expand description
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
sourceimpl Clock
impl Clock
sourcepub fn as_c(&self) -> nvmlClockType_enum
pub fn as_c(&self) -> nvmlClockType_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations
impl Eq for Clock
impl StructuralEq for Clock
impl StructuralPartialEq for Clock
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more