#[repr(u32)]pub enum FanState {
Normal = 0,
Failed = 1,
}Variants§
Trait Implementations§
Source§impl From<FanState> for nvmlFanState_t
impl From<FanState> for nvmlFanState_t
Source§impl From<nvmlFanState_enum> for FanState
impl From<nvmlFanState_enum> for FanState
Source§fn from(value: nvmlFanState_t) -> Self
fn from(value: nvmlFanState_t) -> Self
Converts to this type from the input type.
Source§impl TryFromPrimitive for FanState
impl TryFromPrimitive for FanState
impl Copy for FanState
impl Eq for FanState
impl StructuralPartialEq for FanState
Auto Trait Implementations§
impl Freeze for FanState
impl RefUnwindSafe for FanState
impl Send for FanState
impl Sync for FanState
impl Unpin for FanState
impl UnsafeUnpin for FanState
impl UnwindSafe for FanState
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