pub enum ClockLimitId {
Tdp,
Unlimited,
}
Expand description
Clock limit IDs for use with crate::Device::set_gpu_locked_clocks()
.
Variants§
Implementations§
Source§impl ClockLimitId
impl ClockLimitId
Sourcepub fn as_c(&self) -> nvmlClockLimitId_enum
pub fn as_c(&self) -> nvmlClockLimitId_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
Source§impl Clone for ClockLimitId
impl Clone for ClockLimitId
Source§fn clone(&self) -> ClockLimitId
fn clone(&self) -> ClockLimitId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ClockLimitId
impl Debug for ClockLimitId
Source§impl Hash for ClockLimitId
impl Hash for ClockLimitId
Source§impl PartialEq for ClockLimitId
impl PartialEq for ClockLimitId
Source§impl TryFrom<u32> for ClockLimitId
impl TryFrom<u32> for ClockLimitId
impl Eq for ClockLimitId
impl StructuralPartialEq for ClockLimitId
Auto Trait Implementations§
impl Freeze for ClockLimitId
impl RefUnwindSafe for ClockLimitId
impl Send for ClockLimitId
impl Sync for ClockLimitId
impl Unpin for ClockLimitId
impl UnwindSafe for ClockLimitId
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