Enum nvapi::ThermalController
source · [−]#[repr(i32)]
pub enum ThermalController {
Show 13 variants
None,
GpuInternal,
ADM1032,
MAX6649,
MAX1617,
LM99,
LM89,
LM64,
ADT7473,
SBMAX6649,
VBIOSEVT,
OS,
Unknown,
}
Expand description
NV_GPU_THERMAL_SETTINGS
Variants
None
GpuInternal
ADM1032
MAX6649
MAX1617
LM99
LM89
LM64
ADT7473
SBMAX6649
VBIOSEVT
OS
Unknown
Implementations
sourceimpl 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
sourceimpl Clone for ThermalController
impl Clone for ThermalController
sourcefn clone(&self) -> ThermalController
fn clone(&self) -> ThermalController
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ThermalController
impl Debug for ThermalController
sourceimpl<'de> Deserialize<'de> for ThermalController
impl<'de> Deserialize<'de> for ThermalController
sourcefn 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
sourceimpl Display for ThermalController
impl Display for ThermalController
sourceimpl Hash for ThermalController
impl Hash for ThermalController
sourceimpl Into<i32> for ThermalController
impl Into<i32> for ThermalController
sourceimpl Ord for ThermalController
impl Ord for ThermalController
sourceimpl PartialOrd<ThermalController> for ThermalController
impl PartialOrd<ThermalController> for ThermalController
sourcefn partial_cmp(&self, other: &ThermalController) -> Option<Ordering>
fn partial_cmp(&self, other: &ThermalController) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for ThermalController
impl Serialize for ThermalController
sourcefn 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 StructuralEq for ThermalController
impl StructuralPartialEq for ThermalController
Auto Trait Implementations
impl RefUnwindSafe for ThermalController
impl Send for ThermalController
impl Sync for ThermalController
impl Unpin for ThermalController
impl UnwindSafe for ThermalController
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more