Module miniscript::iter
source · Expand description
Abstract Tree Iteration
This module provides functionality to treat Miniscript objects abstractly as trees, iterating over them in various orders. The iterators in this module can be used to avoid explicitly recursive algorithms.
Structs
- Iterates over a DAG in post order.
- A set of data yielded by a
PostOrderIter
. - Iterates over a
TreeLike
in pre order. - A set of data yielded by a
VerbosePreOrderIter
. - Iterates over a
TreeLike
in “verbose pre order”, yielding extra state changes.
Enums
- Abstract node of a tree.
Traits
- A trait for any structure which has the shape of a Miniscript tree.