[][src]Struct yaum::velocity::Velocity

pub struct Velocity(_);

Implementations

impl Velocity[src]

pub const fn new(value: Base) -> Self[src]

pub const fn dimensionless(self) -> Base[src]

pub fn mps(self) -> Base[src]

pub fn kph(self) -> Base[src]

pub fn mph(self) -> Base[src]

Trait Implementations

impl Add<Velocity> for Velocity[src]

type Output = Velocity

The resulting type after applying the + operator.

impl Clone for Velocity[src]

impl Copy for Velocity[src]

impl Debug for Velocity[src]

impl Default for Velocity[src]

impl Div<Time> for Velocity[src]

type Output = Acceleration

The resulting type after applying the / operator.

impl Div<Velocity> for Velocity[src]

type Output = Base

The resulting type after applying the / operator.

impl Div<f32> for Velocity[src]

type Output = Velocity

The resulting type after applying the / operator.

impl Mul<Velocity> for Base[src]

type Output = Velocity

The resulting type after applying the * operator.

impl Mul<f32> for Velocity[src]

type Output = Velocity

The resulting type after applying the * operator.

impl PartialEq<Velocity> for Velocity[src]

impl PartialOrd<Velocity> for Velocity[src]

impl StructuralPartialEq for Velocity[src]

impl Sub<Velocity> for Velocity[src]

type Output = Velocity

The resulting type after applying the - operator.

Auto Trait Implementations

impl Send for Velocity

impl Sync for Velocity

impl Unpin for Velocity

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, 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.