#[repr(i32)]pub enum CoolerTarget {
None = 0,
GPU = 1,
Memory = 2,
PowerSupply = 4,
All = 7,
}Variants§
None = 0
GPU = 1
Memory = 2
PowerSupply = 4
All = 7
This cooler cools all of the components related to its target gpu.
Implementations§
Source§impl CoolerTarget
impl CoolerTarget
pub fn from_raw(raw: NV_COOLER_TARGET) -> Result<Self, ArgumentRangeError>
pub fn raw(&self) -> NV_COOLER_TARGET
pub fn values() -> Cloned<Iter<'static, Self>>
Trait Implementations§
Source§impl Clone for CoolerTarget
impl Clone for CoolerTarget
Source§fn clone(&self) -> CoolerTarget
fn clone(&self) -> CoolerTarget
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 CoolerTarget
impl Debug for CoolerTarget
Source§impl<'de> Deserialize<'de> for CoolerTarget
impl<'de> Deserialize<'de> for CoolerTarget
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 CoolerTarget
impl Display for CoolerTarget
Source§impl Hash for CoolerTarget
impl Hash for CoolerTarget
Source§impl Into<i32> for CoolerTarget
impl Into<i32> for CoolerTarget
Source§fn into(self) -> NV_COOLER_TARGET
fn into(self) -> NV_COOLER_TARGET
Converts this type into the (usually inferred) input type.
Source§impl Ord for CoolerTarget
impl Ord for CoolerTarget
Source§fn cmp(&self, other: &CoolerTarget) -> Ordering
fn cmp(&self, other: &CoolerTarget) -> 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 CoolerTarget
impl PartialEq for CoolerTarget
Source§impl PartialOrd for CoolerTarget
impl PartialOrd for CoolerTarget
Source§impl Serialize for CoolerTarget
impl Serialize for CoolerTarget
impl Copy for CoolerTarget
impl Eq for CoolerTarget
impl StructuralPartialEq for CoolerTarget
Auto Trait Implementations§
impl Freeze for CoolerTarget
impl RefUnwindSafe for CoolerTarget
impl Send for CoolerTarget
impl Sync for CoolerTarget
impl Unpin for CoolerTarget
impl UnwindSafe for CoolerTarget
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