pub trait Len { // Required method fn len(&self) -> usize; }
Trivial trait for types that have .len().
Get the length.