pub trait Integer: Sealed {
const MAX_STR_LEN: usize;
}
Expand description
An integer that can be written into an itoa::Buffer
.
This trait is sealed and cannot be implemented for types outside of itoa.
Required Associated Constants§
Sourceconst MAX_STR_LEN: usize
const MAX_STR_LEN: usize
The maximum length of string that formatting an integer of this type can produce on the current target platform.
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.