pub trait ContainerLen {
// Required method
fn len(&self) -> usize;
}Expand description
A trait to let you see how many values the container is holding.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".