#[repr(i32)]pub enum CoolerActivityLevel {
Inactive = 0,
Active = 1,
}Variants§
Implementations§
Source§impl CoolerActivityLevel
impl CoolerActivityLevel
pub fn from_raw( raw: NV_COOLER_ACTIVITY_LEVEL, ) -> Result<Self, ArgumentRangeError>
pub fn raw(&self) -> NV_COOLER_ACTIVITY_LEVEL
pub fn values() -> Cloned<Iter<'static, Self>>
Trait Implementations§
Source§impl Clone for CoolerActivityLevel
impl Clone for CoolerActivityLevel
Source§fn clone(&self) -> CoolerActivityLevel
fn clone(&self) -> CoolerActivityLevel
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 CoolerActivityLevel
impl Debug for CoolerActivityLevel
Source§impl<'de> Deserialize<'de> for CoolerActivityLevel
impl<'de> Deserialize<'de> for CoolerActivityLevel
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 Hash for CoolerActivityLevel
impl Hash for CoolerActivityLevel
Source§impl Into<i32> for CoolerActivityLevel
impl Into<i32> for CoolerActivityLevel
Source§fn into(self) -> NV_COOLER_ACTIVITY_LEVEL
fn into(self) -> NV_COOLER_ACTIVITY_LEVEL
Converts this type into the (usually inferred) input type.
Source§impl Ord for CoolerActivityLevel
impl Ord for CoolerActivityLevel
Source§fn cmp(&self, other: &CoolerActivityLevel) -> Ordering
fn cmp(&self, other: &CoolerActivityLevel) -> 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 CoolerActivityLevel
impl PartialEq for CoolerActivityLevel
Source§impl PartialOrd for CoolerActivityLevel
impl PartialOrd for CoolerActivityLevel
Source§impl Serialize for CoolerActivityLevel
impl Serialize for CoolerActivityLevel
impl Copy for CoolerActivityLevel
impl Eq for CoolerActivityLevel
impl StructuralPartialEq for CoolerActivityLevel
Auto Trait Implementations§
impl Freeze for CoolerActivityLevel
impl RefUnwindSafe for CoolerActivityLevel
impl Send for CoolerActivityLevel
impl Sync for CoolerActivityLevel
impl Unpin for CoolerActivityLevel
impl UnwindSafe for CoolerActivityLevel
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