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