Struct nvml_wrapper::struct_wrappers::unit::FanInfo
source · pub struct FanInfo {
pub speed: u32,
pub state: FanState,
}
Expand description
Fan info reading for a single fan in an S-class unit.
Fields§
§speed: u32
Fan speed (RPM).
state: FanState
Indicates whether a fan is working properly.
Trait Implementations§
source§impl PartialEq for FanInfo
impl PartialEq for FanInfo
source§impl TryFrom<nvmlUnitFanInfo_st> for FanInfo
impl TryFrom<nvmlUnitFanInfo_st> for FanInfo
impl Eq for FanInfo
impl StructuralPartialEq for FanInfo
Auto Trait Implementations§
impl RefUnwindSafe for FanInfo
impl Send for FanInfo
impl Sync for FanInfo
impl Unpin for FanInfo
impl UnwindSafe for FanInfo
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