macro_rules! filter_nodes {
($netlist:ident, $pattern:pat $(if $guard:expr)? $(,)?) => { ... };
}Expand description
Filter invariants of Instantiable in a netlist. Use it like you would matches!.
Example: filter_nodes!(netlist, Gate::AND(_));