#[repr(i32)]pub enum CoolerType {
None = 0,
Fan = 1,
Water = 2,
LiquidNO2 = 3,
}Variants§
Implementations§
Source§impl CoolerType
impl CoolerType
pub fn from_raw(raw: NV_COOLER_TYPE) -> Result<Self, ArgumentRangeError>
pub fn raw(&self) -> NV_COOLER_TYPE
pub fn values() -> Cloned<Iter<'static, Self>>
Trait Implementations§
Source§impl Clone for CoolerType
impl Clone for CoolerType
Source§fn clone(&self) -> CoolerType
fn clone(&self) -> CoolerType
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 CoolerType
impl Debug for CoolerType
Source§impl<'de> Deserialize<'de> for CoolerType
impl<'de> Deserialize<'de> for CoolerType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CoolerType
impl Display for CoolerType
Source§impl Hash for CoolerType
impl Hash for CoolerType
Source§impl Into<i32> for CoolerType
impl Into<i32> for CoolerType
Source§fn into(self) -> NV_COOLER_TYPE
fn into(self) -> NV_COOLER_TYPE
Converts this type into the (usually inferred) input type.
Source§impl Ord for CoolerType
impl Ord for CoolerType
Source§fn cmp(&self, other: &CoolerType) -> Ordering
fn cmp(&self, other: &CoolerType) -> 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 CoolerType
impl PartialEq for CoolerType
Source§impl PartialOrd for CoolerType
impl PartialOrd for CoolerType
Source§impl Serialize for CoolerType
impl Serialize for CoolerType
impl Copy for CoolerType
impl Eq for CoolerType
impl StructuralPartialEq for CoolerType
Auto Trait Implementations§
impl Freeze for CoolerType
impl RefUnwindSafe for CoolerType
impl Send for CoolerType
impl Sync for CoolerType
impl Unpin for CoolerType
impl UnwindSafe for CoolerType
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