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