[][src]Struct yaum::length::Length

pub struct Length(_);

Implementations

impl Length[src]

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

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

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

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

Trait Implementations

impl Add<Length> for Length[src]

type Output = Length

The resulting type after applying the + operator.

impl Clone for Length[src]

impl Copy for Length[src]

impl Debug for Length[src]

impl Default for Length[src]

impl Div<Length> for Length[src]

type Output = Base

The resulting type after applying the / operator.

impl Div<Time> for Length[src]

type Output = Velocity

The resulting type after applying the / operator.

impl Div<f32> for Length[src]

type Output = Length

The resulting type after applying the / operator.

impl Mul<Length> for Base[src]

type Output = Length

The resulting type after applying the * operator.

impl Mul<f32> for Length[src]

type Output = Length

The resulting type after applying the * operator.

impl PartialEq<Length> for Length[src]

impl PartialOrd<Length> for Length[src]

impl StructuralPartialEq for Length[src]

impl Sub<Length> for Length[src]

type Output = Length

The resulting type after applying the - operator.

Auto Trait Implementations

impl Send for Length

impl Sync for Length

impl Unpin for Length

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.