pub const fn integer_max<T: IntegerPrimitive>(a: T, b: T) -> T
core_intrinsics
Integer maximum, signed or unsigned depending on T.
max
T
Allowed only on uN, iN, usize, and isize. (Not on bool nor on char.)
uN
iN
usize
isize
bool
char
Stabilized as u16::max and i64::max and similar.
u16::max
i64::max