[][src]Struct macsmc::Rpm

pub struct Rpm(pub f32);

Unit for fan speed (RPM = Revolutions per minute)

Examples

let rpm = Rpm(2500.0);
assert_eq!(*rpm, 2500.0);

Trait Implementations

impl Clone for Rpm[src]

impl Copy for Rpm[src]

impl Debug for Rpm[src]

impl Default for Rpm[src]

impl Deref for Rpm[src]

type Target = f32

The resulting type after dereferencing.

impl Into<f64> for Rpm[src]

impl PartialEq<Rpm> for Rpm[src]

impl PartialOrd<Rpm> for Rpm[src]

impl StructuralPartialEq for Rpm[src]

Auto Trait Implementations

impl RefUnwindSafe for Rpm

impl Send for Rpm

impl Sync for Rpm

impl Unpin for Rpm

impl UnwindSafe for Rpm

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.