Crate len_trait [] [src]

This crate generalises traits over the len and capacity methods found in most collections.

Methods that are included:

Additionally, the traits IndexRanges<Idx> and IndexRangesMut<Idx> are provided for "consistent slicing," i.e. slicing over all range types.

Reexports

pub use capacity::*;
pub use index::*;
pub use len::*;

Modules

capacity

Traits involving the capacity of a collection.

index

Traits involving collections which index over a particular type.

len

Traits involving the length of a collection.