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

Object Safety§

This trait is not object safe.

Implementors§