pub trait Bounded {
    fn min_value() -> Self;
    fn max_value() -> Self;
}
Expand description

Numbers which have upper and lower bounds

Required Methods§

Returns the smallest finite number this type can represent

Returns the largest finite number this type can represent

Implementations on Foreign Types§

Implementors§