pub trait Max {
const MAX: Self;
}
Expand description
Defines the maximum value of a type.
The maximum value of Self
.
The maximum value of a bool
: true
.
The highest value representable by this type, positive infinity.
The highest value representable by this type, positive infinity.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.
The highest value representable by this type.
If Self
is unsigned, MAX
is $2^W-1$. If Self
is signed, MAX
is $2^{W-1}-1$.
§Examples
See here.