Enum nvapi::CoolerControl
source · [−]#[repr(i32)]
pub enum CoolerControl {
None,
Toggle,
Variable,
}
Variants
None
Toggle
ON/OFF
Variable
Suppports variable control.
Implementations
sourceimpl CoolerControl
impl CoolerControl
pub fn from_raw(raw: i32) -> Result<CoolerControl, ArgumentRangeError>
pub fn raw(&self) -> i32
pub fn values() -> Cloned<Iter<'static, CoolerControl>>
Trait Implementations
sourceimpl Clone for CoolerControl
impl Clone for CoolerControl
sourcefn clone(&self) -> CoolerControl
fn clone(&self) -> CoolerControl
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 CoolerControl
impl Debug for CoolerControl
sourceimpl<'de> Deserialize<'de> for CoolerControl
impl<'de> Deserialize<'de> for CoolerControl
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<CoolerControl, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CoolerControl, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for CoolerControl
impl Display for CoolerControl
sourceimpl Hash for CoolerControl
impl Hash for CoolerControl
sourceimpl Into<i32> for CoolerControl
impl Into<i32> for CoolerControl
sourceimpl Ord for CoolerControl
impl Ord for CoolerControl
sourceimpl PartialEq<CoolerControl> for CoolerControl
impl PartialEq<CoolerControl> for CoolerControl
sourceimpl PartialOrd<CoolerControl> for CoolerControl
impl PartialOrd<CoolerControl> for CoolerControl
sourcefn partial_cmp(&self, other: &CoolerControl) -> Option<Ordering>
fn partial_cmp(&self, other: &CoolerControl) -> 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 CoolerControl
impl Serialize for CoolerControl
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 CoolerControl
impl Eq for CoolerControl
impl StructuralEq for CoolerControl
impl StructuralPartialEq for CoolerControl
Auto Trait Implementations
impl RefUnwindSafe for CoolerControl
impl Send for CoolerControl
impl Sync for CoolerControl
impl Unpin for CoolerControl
impl UnwindSafe for CoolerControl
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