#[repr(u32)]pub enum ClockType {
Graphics = 0,
Sm = 1,
Memory = 2,
Video = 3,
}Variants§
Trait Implementations§
Source§impl From<ClockType> for nvmlClockType_t
impl From<ClockType> for nvmlClockType_t
Source§impl From<nvmlClockType_enum> for ClockType
impl From<nvmlClockType_enum> for ClockType
Source§fn from(value: nvmlClockType_t) -> Self
fn from(value: nvmlClockType_t) -> Self
Converts to this type from the input type.
Source§impl TryFromPrimitive for ClockType
impl TryFromPrimitive for ClockType
impl Copy for ClockType
impl Eq for ClockType
impl StructuralPartialEq for ClockType
Auto Trait Implementations§
impl Freeze for ClockType
impl RefUnwindSafe for ClockType
impl Send for ClockType
impl Sync for ClockType
impl Unpin for ClockType
impl UnsafeUnpin for ClockType
impl UnwindSafe for ClockType
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