Skip to main content
A trait defining minimum and maximum bounds for numeric types. This trait only supports types that can have constant values.

Signature

Trait constants

MIN

Returns the minimum value for type T.

Signature

Examples

MAX

Returns the maximum value for type T.

Signature

Examples