Trait Min
Source pub trait Min {
const MIN: Self;
}
Expand description
Defines the minimum value of a type.
The minimum value of Self
.
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
The minimum value of a bool
: false
.
The minimum value of a char
: '\u{0}'
.
This is the famous NUL character, a C0
control.
Source§The lowest value representable by this type, negative infinity.
Source§The lowest value representable by this type, negative infinity.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.
Source§The lowest value representable by this type.
If Self
is unsigned, MIN
is 0. If Self
is signed, MIN
is $-2^{W-1}$.
§Examples
See here.