pub trait Collapse<A, Wrapped> {
    fn collapse_layers<F: FnMut(Wrapped) -> A>(self, collapse_layer: F) -> A;
}
Expand description

Support for collapsing a structure into a single value, one layer at a time

Required Methods

Implementors