Skip to main content

with_tree

Function with_tree 

Source
pub fn with_tree<R>(f: impl FnOnce(&ProbeTree) -> R) -> R
Expand description

Run f against the current tree without cloning it — for a host that wants to inspect the tree without paying for a copy of it.