Crate stable_id_traits
source ·Traits
Trait for casting between an unsigned integer to a usize, and vice versa.
Note: to() would panic if the value is greater or equal to the type’s max.
Trait for projecting the inner value of the Id’s tuple, i.e. returning u32 for Id(u32).
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
].Predecessor trait for numbers.
Successor trait for numbers.