Trait for getting the maximal and minimal values of an integer type.

Signature

pub trait BoundedInt

Trait functions

min

Returns the minimal value of the type.

Signature

fn min() -> T

max

Returns the maximal value of the type.

Signature

fn max() -> T