pub trait Length { type Output; // Required method fn length(&self) -> Self::Output; }
This type abstracts a vector or other object that can represents a length