pub struct UnitFanInfo {
pub speed: u32,
pub state: FanState,
}Fields§
§speed: u32§state: FanStateTrait Implementations§
Source§impl Clone for UnitFanInfo
impl Clone for UnitFanInfo
Source§fn clone(&self) -> UnitFanInfo
fn clone(&self) -> UnitFanInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnitFanInfo
impl Debug for UnitFanInfo
Source§impl Hash for UnitFanInfo
impl Hash for UnitFanInfo
Source§impl PartialEq for UnitFanInfo
impl PartialEq for UnitFanInfo
Source§fn eq(&self, other: &UnitFanInfo) -> bool
fn eq(&self, other: &UnitFanInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UnitFanInfo
impl Eq for UnitFanInfo
impl StructuralPartialEq for UnitFanInfo
Auto Trait Implementations§
impl Freeze for UnitFanInfo
impl RefUnwindSafe for UnitFanInfo
impl Send for UnitFanInfo
impl Sync for UnitFanInfo
impl Unpin for UnitFanInfo
impl UnsafeUnpin for UnitFanInfo
impl UnwindSafe for UnitFanInfo
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