Module one_or_many

Source

Structs§

IntoIter
An iterator that moves out of a OneOrMany. This struct is created by the into_iter method on OneOrMany (provided by the IntoIterator trait).
Iter
Immutable iterator over a OneOrMany. This struct is created by OneOrMany::iter.

Enums§

OneOrMany
Represents either a single value, or multiple values of T. Useful for differentiating between an array of length 1 and a single value.