Skip to main content

Module tree

Module tree 

Source
Available on crate features collections and cons only.

Structs§

ConsBranch
A references counted, linked list implemented similar to a cons list. This type is useful as an list of immutable items with cheap, shallow cloning, that can share nodes with other instances.
ConsNode
Largely intended as an internal type, these nodes are returned by ConsBranch::into_iter_rc because the interior of the Rc can’t be unwrapped in place.
Iter
See ConsBranch::iter.
OwnedIter
See ConsBranch::into_iter_owned.
RcIter
See ConsBranch::into_iter_rc.
UniqueIter
See ConsBranch::into_iter_unique.