Module prelude

Module prelude 

Source
Expand description

The prelude imports for not_empty. The intention is so you can include use not_empty::prelude::* and have easy access to this crate’s types and traits.

Macros§

not_empty_vecalloc or std
Creates a NonEmptyVec containing the arguments.

Structs§

NonEmptySlice
A slice that is guaranteed to not be empty.
NonEmptyVecalloc or std
A vector that is guaranteed to not be empty.

Traits§

NotEmptyIteratorExtalloc or std
Extends Iterator with methods for collecting NonEmptyVecs as a stop-gap to retain a fallible Iterator::collect functionality.