[][src]Type Definition decorum::NotNan

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

Floating-point representation that cannot be NaN.

If an operation emits NaN, then a panic will occur. Like Total, this type implements a total ordering.

Trait Implementations

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

impl<T> From<ConstrainedFloat<T, FiniteConstraint<T>>> for NotNan<T> where
    T: Float + Primitive
[src]