Module vec

Module vec 

Source
Available on crate features std or alloc only.
Expand description

Non-empty Vec<T>.

Structs§

EmptyVec
Similar to EmptySlice, but holds the empty vector provided.
NonEmptyVec
Represents non-empty Vec<T> values.
PeekMut
Peeks into the last item of the vector mutably.

Constants§

EMPTY_VEC
The error message used when the vector is empty.

Type Aliases§

EmptyByteVec
Represents empty byte vectors, EmptyVec<u8>.
NonEmptyByteVec
Represents non-empty byte vectors, NonEmptyVec<u8>.