Trait moore_svlog::ast::ForEachNode [−][src]
pub trait ForEachNode<'a> {
fn for_each_node(&'a self, each: &mut dyn FnMut(&'a (dyn AnyNode<'a> + 'a))) { ... }
}
Expand description
A node which can pass itself as AnyNode
to a callback.
Provided methods
fn for_each_node(&'a self, each: &mut dyn FnMut(&'a (dyn AnyNode<'a> + 'a)))
fn for_each_node(&'a self, each: &mut dyn FnMut(&'a (dyn AnyNode<'a> + 'a)))
Apply a function to this node.