pub enum TemperatureSensor {
Gpu,
}
Variants§
Gpu
Sensor for the GPU die.
Implementations§
source§impl TemperatureSensor
impl TemperatureSensor
sourcepub fn as_c(&self) -> nvmlTemperatureSensors_enum
pub fn as_c(&self) -> nvmlTemperatureSensors_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
source§impl Clone for TemperatureSensor
impl Clone for TemperatureSensor
source§fn clone(&self) -> TemperatureSensor
fn clone(&self) -> TemperatureSensor
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 TemperatureSensor
impl Debug for TemperatureSensor
source§impl Hash for TemperatureSensor
impl Hash for TemperatureSensor
source§impl PartialEq for TemperatureSensor
impl PartialEq for TemperatureSensor
source§fn eq(&self, other: &TemperatureSensor) -> bool
fn eq(&self, other: &TemperatureSensor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for TemperatureSensor
impl TryFrom<u32> for TemperatureSensor
impl Eq for TemperatureSensor
impl StructuralPartialEq for TemperatureSensor
Auto Trait Implementations§
impl RefUnwindSafe for TemperatureSensor
impl Send for TemperatureSensor
impl Sync for TemperatureSensor
impl Unpin for TemperatureSensor
impl UnwindSafe for TemperatureSensor
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