Enum nvml_wrapper::enums::unit::TemperatureReading
source · #[repr(u32)]pub enum TemperatureReading {
Intake = 0,
Exhaust = 1,
Board = 2,
}
Expand description
The type of temperature reading to take for a Unit
.
Available readings depend on the product.
Variants§
Trait Implementations§
source§impl Clone for TemperatureReading
impl Clone for TemperatureReading
source§fn clone(&self) -> TemperatureReading
fn clone(&self) -> TemperatureReading
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 TemperatureReading
impl Debug for TemperatureReading
source§impl Hash for TemperatureReading
impl Hash for TemperatureReading
source§impl PartialEq for TemperatureReading
impl PartialEq for TemperatureReading
source§fn eq(&self, other: &TemperatureReading) -> bool
fn eq(&self, other: &TemperatureReading) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TemperatureReading
impl StructuralPartialEq for TemperatureReading
Auto Trait Implementations§
impl RefUnwindSafe for TemperatureReading
impl Send for TemperatureReading
impl Sync for TemperatureReading
impl Unpin for TemperatureReading
impl UnwindSafe for TemperatureReading
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