pub trait UpperBounded {
    // Required method
    fn max_value() -> Self;
}
Expand description

Numbers which have upper bounds

Required Methods§

source

fn max_value() -> Self

Returns the largest finite number this type can represent

Implementors§

source§

impl<T> UpperBounded for Twhere T: Bounded,