NonEmptyVec

Type Alias NonEmptyVec 

Source
pub type NonEmptyVec<T> = MinSizedVec<T, 1>;
Expand description

A Vec that always contains at least one element.

This is just a utility alias, so see the MinSizedVec docs for available methods.

Aliased Typeยง

pub struct NonEmptyVec<T>(/* private fields */);