[][src]Struct metfor::Feet

pub struct Feet(pub f64);

Length in feet, usually used for geopotential height and elevation.

Methods

impl Feet[src]

pub fn max(self, other: Feet) -> Self[src]

Find the maximum for two values

pub fn min(self, other: Feet) -> Self[src]

Find the minimum for two values

Trait Implementations

impl<T> Add<T> for Feet where
    Feet: From<T> + Quantity,
    T: Quantity
[src]

type Output = Feet

The resulting type after applying the + operator.

impl<T> AddAssign<T> for Feet where
    Feet: From<T> + Quantity,
    T: Quantity
[src]

impl Clone for Feet[src]

impl Copy for Feet[src]

impl Debug for Feet[src]

impl<T> Div<T> for Feet where
    Feet: From<T> + Quantity,
    T: Quantity
[src]

type Output = f64

The resulting type after applying the / operator.

impl DivAssign<f64> for Feet[src]

impl From<Cm> for Feet[src]

impl From<Decameters> for Feet[src]

impl From<Feet> for Km[src]

impl From<Feet> for Decameters[src]

impl From<Feet> for Meters[src]

impl From<Feet> for Cm[src]

impl From<Feet> for Mm[src]

impl From<Feet> for StatuteMiles[src]

impl From<Feet> for Inches[src]

impl From<Inches> for Feet[src]

impl From<Km> for Feet[src]

impl From<Meters> for Feet[src]

impl From<Mm> for Feet[src]

impl From<StatuteMiles> for Feet[src]

impl Length for Feet[src]

impl Mul<f64> for Feet[src]

type Output = Feet

The resulting type after applying the * operator.

impl MulAssign<f64> for Feet[src]

impl Neg for Feet[src]

type Output = Feet

The resulting type after applying the - operator.

impl<T> PartialEq<T> for Feet where
    Feet: From<T> + Quantity,
    T: Quantity
[src]

impl<T> PartialOrd<T> for Feet where
    Feet: From<T> + Quantity,
    T: Quantity
[src]

impl Quantity for Feet[src]

impl<T> Sub<T> for Feet where
    Feet: From<T> + Quantity,
    T: Quantity
[src]

type Output = Feet

The resulting type after applying the - operator.

impl<T> SubAssign<T> for Feet where
    Feet: From<T> + Quantity,
    T: Quantity
[src]

Auto Trait Implementations

impl RefUnwindSafe for Feet

impl Send for Feet

impl Sync for Feet

impl Unpin for Feet

impl UnwindSafe for Feet

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.