Type Definition decorum::NotNan[][src]

type NotNan<T> = ConstrainedFloat<T, NotNanConstraint<T>>;

An ordered and canonicalized floating-point value that cannot be NaN.

If any operation results in a NaN value, then a panic will occur.

Trait Implementations

impl<T> From<NotNan<T>> for Ordered<T> where
    T: Float + Primitive
[src]

Performs the conversion.

impl<T> From<Finite<T>> for NotNan<T> where
    T: Float + Primitive
[src]

Performs the conversion.