pub trait Maximum {
// Required method
fn max_value() -> Self;
}Expand description
A trait that describes the max value of an unsigned integer. This trait is used to detect overflow.
Also, it’s used like a NULL terminator for the free list in [Tec].
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.