Type Definition decorum::NotNan

source ·
pub type NotNan<T> = ConstrainedFloat<T, NotNanConstraint<T>>;
Expand description

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

Converts to this type from the input type.