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