[][src]Struct automatica::units::Hertz

pub struct Hertz<T: Num>(pub T);

Unit of measurement: Hertz [Hz]

Trait Implementations

impl<T: Clone + Num> Clone for Hertz<T>[src]

impl<T: Copy + Num> Copy for Hertz<T>[src]

impl<T: Debug + Num> Debug for Hertz<T>[src]

impl<T: Display + Num> Display for Hertz<T>[src]

Format the unit as its inner type.

impl<T: Num + FloatConst> From<Hertz<T>> for RadiansPerSecond<T>[src]

fn from(hz: Hertz<T>) -> Self[src]

Convert Hertz into radians per second.

impl<T: Num + FloatConst> From<RadiansPerSecond<T>> for Hertz<T>[src]

fn from(rps: RadiansPerSecond<T>) -> Self[src]

Convert radians per second into Hertz.

impl<T: Inv<Output = T> + Num> Inv for Hertz<T>[src]

type Output = Seconds<T>

The result after applying the operator.

fn inv(self) -> Self::Output[src]

Convert Hertz into seconds.

impl<T: LowerExp + Float> LowerExp for Hertz<T>[src]

Format the unit as its inner type.

impl<T: PartialEq + Num> PartialEq<Hertz<T>> for Hertz<T>[src]

impl<T: PartialOrd + Num> PartialOrd<Hertz<T>> for Hertz<T>[src]

impl<T: Num> StructuralPartialEq for Hertz<T>[src]

impl<T: UpperExp + Float> UpperExp for Hertz<T>[src]

Format the unit as its inner type.

Auto Trait Implementations

impl<T> RefUnwindSafe for Hertz<T> where
    T: RefUnwindSafe

impl<T> Send for Hertz<T> where
    T: Send

impl<T> Sync for Hertz<T> where
    T: Sync

impl<T> Unpin for Hertz<T> where
    T: Unpin

impl<T> UnwindSafe for Hertz<T> where
    T: UnwindSafe

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> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.