#[repr(i32)]pub enum ThermalController {
Show 13 variants
None = 0,
GpuInternal = 1,
ADM1032 = 2,
MAX6649 = 3,
MAX1617 = 4,
LM99 = 5,
LM89 = 6,
LM64 = 7,
ADT7473 = 8,
SBMAX6649 = 9,
VBIOSEVT = 10,
OS = 11,
Unknown = -1,
}Expand description
NV_GPU_THERMAL_SETTINGS
Variants§
None = 0
GpuInternal = 1
ADM1032 = 2
MAX6649 = 3
MAX1617 = 4
LM99 = 5
LM89 = 6
LM64 = 7
ADT7473 = 8
SBMAX6649 = 9
VBIOSEVT = 10
OS = 11
Unknown = -1
Implementations§
Source§impl ThermalController
impl ThermalController
pub fn from_raw(raw: i32) -> Result<ThermalController, ArgumentRangeError>
pub fn raw(&self) -> i32
pub fn values() -> Cloned<Iter<'static, ThermalController>>
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 · 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<'de> Deserialize<'de> for ThermalController
impl<'de> Deserialize<'de> for ThermalController
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ThermalController, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ThermalController, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ThermalController
impl Display for ThermalController
Source§impl Hash for ThermalController
impl Hash for ThermalController
Source§impl Into<i32> for ThermalController
impl Into<i32> for ThermalController
Source§impl Ord for ThermalController
impl Ord for ThermalController
Source§fn cmp(&self, other: &ThermalController) -> Ordering
fn cmp(&self, other: &ThermalController) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ThermalController
impl PartialEq for ThermalController
Source§impl PartialOrd for ThermalController
impl PartialOrd for ThermalController
Source§impl Serialize for ThermalController
impl Serialize for ThermalController
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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 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