Module collections

Module collections 

Source
Expand description

Containers, including OneOrMore.

Structs§

NoItems
Indicates failure of an attempt to create an instance of OneOrMore<T> when there are zero items to construct it from.
OneOrMore
A container for at least one item. As a convenience, we don’t implement methods that reduce the length of the container (so that, for example, we don’t have to implement a fallible equivalent of pop()). However, the container is mutable in the sense that the items stored in it can be mutated.
OneOrMoreIntoIter
OneOrMoreIter
OneOrMoreIterMut