Bounded

A trait defining minimum and maximum bounds for numeric types. Only supports types that can have a constant value. Example:

Bounded::<MyType>::MAX;

Fully qualified path: core::num::traits::bounded::Bounded

pub trait Bounded<T>

Trait constants

MIN

The minimum allowable value.

Fully qualified path: core::num::traits::bounded::Bounded::MIN

const MIN: T;

MAX

The maximum allowable value.

Fully qualified path: core::num::traits::bounded::Bounded::MAX

const MAX: T;