graphex

Function explore

Source
pub fn explore<Output, F>(
    node: &dyn Node,
    key: &str,
    display: F,
) -> Result<Output>
where F: FnMut(&dyn Node) -> Output,
Expand description

Explore a node following the key.

Once a final node is found, display is called on it.