Trait moore_svlog::ast::ForEachChild [−][src]
pub trait ForEachChild<'a> {
fn for_each_child(
&'a self,
each: &mut dyn FnMut(&'a (dyn AnyNode<'a> + 'a))
);
}
Expand description
A node which allows iterating over each child node.
Required methods
fn for_each_child(&'a self, each: &mut dyn FnMut(&'a (dyn AnyNode<'a> + 'a)))
fn for_each_child(&'a self, each: &mut dyn FnMut(&'a (dyn AnyNode<'a> + 'a)))
Apply a function to each child node.