#[repr(i32)]pub enum ThermalController {
Show 19 variants
None = 0,
GpuInternal = 1,
Adm1032 = 2,
Adt7461 = 3,
Max6649 = 4,
Max1617 = 5,
Lm99 = 6,
Lm89 = 7,
Lm64 = 8,
G781 = 9,
Adt7473 = 10,
Sbmax6649 = 11,
VbiosEvt = 12,
Os = 13,
NvsysconCanoas = 14,
NvsysconE551 = 15,
Max6649r = 16,
Adt7473s = 17,
Unknown = -1,
}Expand description
Represents the thermal sensor controllers.
Variants§
None = 0
GpuInternal = 1
Adm1032 = 2
Adt7461 = 3
Max6649 = 4
Max1617 = 5
Lm99 = 6
Lm89 = 7
Lm64 = 8
G781 = 9
Adt7473 = 10
Sbmax6649 = 11
VbiosEvt = 12
Os = 13
NvsysconCanoas = 14
NvsysconE551 = 15
Max6649r = 16
Adt7473s = 17
Unknown = -1
Trait Implementations§
Source§impl Clone for ThermalController
impl Clone for ThermalController
Source§fn clone(&self) -> ThermalController
fn clone(&self) -> ThermalController
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThermalController
impl Debug for ThermalController
Source§impl From<ThermalController> for i32
impl From<ThermalController> for i32
Source§fn from(enum_value: ThermalController) -> Self
fn from(enum_value: ThermalController) -> Self
Converts to this type from the input type.
Source§impl From<ThermalController> for nvmlThermalController_t
impl From<ThermalController> for nvmlThermalController_t
Source§fn from(value: ThermalController) -> Self
fn from(value: ThermalController) -> Self
Converts to this type from the input type.
Source§impl From<nvmlThermalController_t> for ThermalController
impl From<nvmlThermalController_t> for ThermalController
Source§fn from(value: nvmlThermalController_t) -> Self
fn from(value: nvmlThermalController_t) -> Self
Converts to this type from the input type.
Source§impl Hash for ThermalController
impl Hash for ThermalController
Source§impl PartialEq for ThermalController
impl PartialEq for ThermalController
Source§fn eq(&self, other: &ThermalController) -> bool
fn eq(&self, other: &ThermalController) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<i32> for ThermalController
impl TryFrom<i32> for ThermalController
Source§type Error = TryFromPrimitiveError<ThermalController>
type Error = TryFromPrimitiveError<ThermalController>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ThermalController
impl TryFromPrimitive for ThermalController
const NAME: &'static str = "ThermalController"
type Primitive = i32
type Error = TryFromPrimitiveError<ThermalController>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ThermalController
impl Eq for ThermalController
impl StructuralPartialEq for ThermalController
Auto Trait Implementations§
impl Freeze for ThermalController
impl RefUnwindSafe for ThermalController
impl Send for ThermalController
impl Sync for ThermalController
impl Unpin for ThermalController
impl UnsafeUnpin for ThermalController
impl UnwindSafe for ThermalController
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