pub trait LenType: Sealed { }
Expand description
A sealed trait representing a valid type to use as a length for a container.
This cannot be implemented in user code, and is restricted to u8
, u16
, u32
, and usize
.
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.