pub struct Number(_);Expand description
A wrapper for f64 which guarantees that the inner value
is finite and thus implements Eq, Hash and Ord.
Implementations§
Trait Implementations§
source§impl Ord for Number
impl Ord for Number
source§impl PartialOrd<Number> for Number
impl PartialOrd<Number> for Number
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more