Trait len_trait::LenMut
[−]
[src]
pub trait LenMut: LenZero { fn truncate(&mut self, len: usize); }
A mutable collection with a length.
Truncating the collection must take O(1) time and space after all of the removed elements in the collection are dropped.