pub trait ForEachChild<'a> {
// Required method
fn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>));
}Expand description
A node which allows iterating over each child node.
Required Methods§
Sourcefn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
fn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))
Apply a function to each child node.