Enum nvapi::CoolerPolicy
source · [−]#[repr(i32)]
pub enum CoolerPolicy {
None,
Manual,
Performance,
TemperatureDiscrete,
TemperatureContinuous,
Hybrid,
Silent,
Unknown32,
}
Variants
None
Manual
Manual adjustment of cooler level. Gets applied right away independent of temperature or performance level.
Performance
GPU performance controls the cooler level.
TemperatureDiscrete
Discrete thermal levels control the cooler level.
TemperatureContinuous
Cooler level adjusted at continuous thermal levels.
Hybrid
Hybrid of performance and temperature levels.
Silent
Fan turns off at idle, default of MSI Gaming X
Unknown32
Apparently a default of some GPUs
Implementations
sourceimpl CoolerPolicy
impl CoolerPolicy
pub fn from_raw(raw: i32) -> Result<CoolerPolicy, ArgumentRangeError>
pub fn raw(&self) -> i32
pub fn values() -> Cloned<Iter<'static, CoolerPolicy>>
Trait Implementations
sourceimpl Clone for CoolerPolicy
impl Clone for CoolerPolicy
sourcefn clone(&self) -> CoolerPolicy
fn clone(&self) -> CoolerPolicy
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 CoolerPolicy
impl Debug for CoolerPolicy
sourceimpl<'de> Deserialize<'de> for CoolerPolicy
impl<'de> Deserialize<'de> for CoolerPolicy
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<CoolerPolicy, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CoolerPolicy, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for CoolerPolicy
impl Display for CoolerPolicy
sourceimpl Hash for CoolerPolicy
impl Hash for CoolerPolicy
sourceimpl Into<i32> for CoolerPolicy
impl Into<i32> for CoolerPolicy
sourceimpl Ord for CoolerPolicy
impl Ord for CoolerPolicy
sourceimpl PartialEq<CoolerPolicy> for CoolerPolicy
impl PartialEq<CoolerPolicy> for CoolerPolicy
sourceimpl PartialOrd<CoolerPolicy> for CoolerPolicy
impl PartialOrd<CoolerPolicy> for CoolerPolicy
sourcefn partial_cmp(&self, other: &CoolerPolicy) -> Option<Ordering>
fn partial_cmp(&self, other: &CoolerPolicy) -> 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 CoolerPolicy
impl Serialize for CoolerPolicy
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 CoolerPolicy
impl Eq for CoolerPolicy
impl StructuralEq for CoolerPolicy
impl StructuralPartialEq for CoolerPolicy
Auto Trait Implementations
impl RefUnwindSafe for CoolerPolicy
impl Send for CoolerPolicy
impl Sync for CoolerPolicy
impl Unpin for CoolerPolicy
impl UnwindSafe for CoolerPolicy
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