Skip to main content

for_each_expr

Function for_each_expr 

Source
pub fn for_each_expr(e: &Expr, f: &mut dyn FnMut(&Expr, u32) -> bool)
Expand description

Traverse every sub-expression, calling f on each.

The callback receives the expression and the current binding depth. Return false from f to stop traversal early.