Crate len_trait [] [src]

Traits

Capacity

A collection with a capacity.

CapacityMut

A collection with a "mutable" capacity.

DefaultCapacity

A collection which can be created with a certain capacity.

IndexRanges

Shorthand for types which allow slicing over usize.

IndexRangesMut

Shorthand for types which allow mutable slicing over usize.

Len

A collection with a length.

LenMut

A collection with a "mutable" length, i.e. a truncatable collection.

LenZero

A collection whose length can be set to zero, i.e. a clearable collection.

SplitAt

A collection which can be split into two parts at a given index.

SplitOff

A collection which can be split into two owned parts at a given index.