ForEachChild

Trait ForEachChild 

Source
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§

Source

fn for_each_child(&'a self, each: &mut dyn FnMut(&'a dyn AnyNode<'a>))

Apply a function to each child node.

Implementors§

Source§

impl<'a> ForEachChild<'a> for AssertionActionBlock<'a>

Source§

impl<'a> ForEachChild<'a> for AssertionData<'a>

Source§

impl<'a> ForEachChild<'a> for AssertionDeferred

Source§

impl<'a> ForEachChild<'a> for AssignOp

Source§

impl<'a> ForEachChild<'a> for BlockingAssertion<'a>

Source§

impl<'a> ForEachChild<'a> for CaseItem<'a>

Source§

impl<'a> ForEachChild<'a> for CaseKind

Source§

impl<'a> ForEachChild<'a> for CaseMode

Source§

impl<'a> ForEachChild<'a> for ChargeStrength

Source§

impl<'a> ForEachChild<'a> for ClassItemData<'a>

Source§

impl<'a> ForEachChild<'a> for ClassItemQualifier

Source§

impl<'a> ForEachChild<'a> for ConcurrentAssertion<'a>

Source§

impl<'a> ForEachChild<'a> for ConstraintItemData<'a>

Source§

impl<'a> ForEachChild<'a> for ConstraintKind

Source§

impl<'a> ForEachChild<'a> for DataTypeData<'a>

Source§

impl<'a> ForEachChild<'a> for DataTypeOrImplicit<'a>

Source§

impl<'a> ForEachChild<'a> for DpiDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for DpiProperty

Source§

impl<'a> ForEachChild<'a> for DriveStrength

Source§

impl<'a> ForEachChild<'a> for EdgeIdent

Source§

impl<'a> ForEachChild<'a> for EventControlData<'a>

Source§

impl<'a> ForEachChild<'a> for EventExpr<'a>

Source§

impl<'a> ForEachChild<'a> for ExprData<'a>

Source§

impl<'a> ForEachChild<'a> for IntType

Source§

impl<'a> ForEachChild<'a> for ItemData<'a>

Source§

impl<'a> ForEachChild<'a> for JoinKind

Source§

impl<'a> ForEachChild<'a> for Lifetime

Source§

impl<'a> ForEachChild<'a> for ModportPortData<'a>

Source§

impl<'a> ForEachChild<'a> for NetKind

Source§

impl<'a> ForEachChild<'a> for NetStrength

Source§

impl<'a> ForEachChild<'a> for NetType

Source§

impl<'a> ForEachChild<'a> for PackedDimData<'a>

Source§

impl<'a> ForEachChild<'a> for ParamKind<'a>

Source§

impl<'a> ForEachChild<'a> for PathSegmentData<'a>

Source§

impl<'a> ForEachChild<'a> for PatternFieldData<'a>

Source§

impl<'a> ForEachChild<'a> for PortConnData<'a>

Source§

impl<'a> ForEachChild<'a> for PortConnMode<'a>

Source§

impl<'a> ForEachChild<'a> for PortData<'a>

Source§

impl<'a> ForEachChild<'a> for PortDir

Source§

impl<'a> ForEachChild<'a> for ProcedureKind

Source§

impl<'a> ForEachChild<'a> for PropBinOp

Source§

impl<'a> ForEachChild<'a> for PropExprData<'a>

Source§

impl<'a> ForEachChild<'a> for PropSeqBinOp

Source§

impl<'a> ForEachChild<'a> for PropSeqOp

Source§

impl<'a> ForEachChild<'a> for RandomQualifier

Source§

impl<'a> ForEachChild<'a> for RangeMode

Source§

impl<'a> ForEachChild<'a> for RealType

Source§

impl<'a> ForEachChild<'a> for SeqBinOp

Source§

impl<'a> ForEachChild<'a> for SeqExprData<'a>

Source§

impl<'a> ForEachChild<'a> for SeqRep<'a>

Source§

impl<'a> ForEachChild<'a> for StmtKind<'a>

Source§

impl<'a> ForEachChild<'a> for StreamConcatSlice<'a>

Source§

impl<'a> ForEachChild<'a> for StructKind

Source§

impl<'a> ForEachChild<'a> for SubroutineItem<'a>

Source§

impl<'a> ForEachChild<'a> for SubroutineKind

Source§

impl<'a> ForEachChild<'a> for SubroutinePortDir

Source§

impl<'a> ForEachChild<'a> for TimingControl<'a>

Source§

impl<'a> ForEachChild<'a> for TypeDim<'a>

Source§

impl<'a> ForEachChild<'a> for TypeKindData<'a>

Source§

impl<'a> ForEachChild<'a> for TypeOrExpr<'a>

Source§

impl<'a> ForEachChild<'a> for TypeSign

Source§

impl<'a> ForEachChild<'a> for UniquePriority

Source§

impl<'a> ForEachChild<'a> for UnpackedDimData<'a>

Source§

impl<'a> ForEachChild<'a> for ValueRange<'a>

Source§

impl<'a> ForEachChild<'a> for VarDimData<'a>

Source§

impl<'a> ForEachChild<'a> for VarKind

Source§

impl<'a> ForEachChild<'a> for Assertion<'a>

Source§

impl<'a> ForEachChild<'a> for CallArgData<'a>

Source§

impl<'a> ForEachChild<'a> for ClassDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for ClassItem<'a>

Source§

impl<'a> ForEachChild<'a> for Constraint<'a>

Source§

impl<'a> ForEachChild<'a> for ConstraintItem<'a>

Source§

impl<'a> ForEachChild<'a> for ContAssignData<'a>

Source§

impl<'a> ForEachChild<'a> for CycleDelay

Source§

impl<'a> ForEachChild<'a> for DelayControl<'a>

Source§

impl<'a> ForEachChild<'a> for EnumData<'a>

Source§

impl<'a> ForEachChild<'a> for EnumNameData<'a>

Source§

impl<'a> ForEachChild<'a> for EventControl<'a>

Source§

impl<'a> ForEachChild<'a> for ForeachIndexData

Source§

impl<'a> ForEachChild<'a> for GenerateBlockData<'a>

Source§

impl<'a> ForEachChild<'a> for GenerateCaseData

Source§

impl<'a> ForEachChild<'a> for GenerateForData<'a>

Source§

impl<'a> ForEachChild<'a> for GenerateIfData<'a>

Source§

impl<'a> ForEachChild<'a> for GenvarDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for ImplicitDataTypeData<'a>

Source§

impl<'a> ForEachChild<'a> for ImportDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for ImportItemData

Source§

impl<'a> ForEachChild<'a> for InstData<'a>

Source§

impl<'a> ForEachChild<'a> for InstNameData<'a>

Source§

impl<'a> ForEachChild<'a> for InterfaceData<'a>

Source§

impl<'a> ForEachChild<'a> for ModportData<'a>

Source§

impl<'a> ForEachChild<'a> for ModportNameData<'a>

Source§

impl<'a> ForEachChild<'a> for ModportSimplePortData<'a>

Source§

impl<'a> ForEachChild<'a> for ModuleData<'a>

Source§

impl<'a> ForEachChild<'a> for NetDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for PackageData<'a>

Source§

impl<'a> ForEachChild<'a> for ParamAssignment<'a>

Source§

impl<'a> ForEachChild<'a> for ParamDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for ParamTypeDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for ParamValueDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for PortDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for ProcedureData<'a>

Source§

impl<'a> ForEachChild<'a> for PropExpr<'a>

Source§

impl<'a> ForEachChild<'a> for PropSpec

Source§

impl<'a> ForEachChild<'a> for RootData<'a>

Source§

impl<'a> ForEachChild<'a> for SeqExpr<'a>

Source§

impl<'a> ForEachChild<'a> for SourceFileData<'a>

Source§

impl<'a> ForEachChild<'a> for StmtData<'a>

Source§

impl<'a> ForEachChild<'a> for StreamExpr<'a>

Source§

impl<'a> ForEachChild<'a> for StructData<'a>

Source§

impl<'a> ForEachChild<'a> for StructMemberData<'a>

Source§

impl<'a> ForEachChild<'a> for SubroutineDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for SubroutinePortData<'a>

Source§

impl<'a> ForEachChild<'a> for SubroutinePortDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for SubroutinePortName<'a>

Source§

impl<'a> ForEachChild<'a> for SubroutinePrototypeData<'a>

Source§

impl<'a> ForEachChild<'a> for Timeunit

Source§

impl<'a> ForEachChild<'a> for TypeData<'a>

Source§

impl<'a> ForEachChild<'a> for TypedefData<'a>

Source§

impl<'a> ForEachChild<'a> for VarDeclData<'a>

Source§

impl<'a> ForEachChild<'a> for VarDeclNameData<'a>

Source§

impl<'a, T> ForEachChild<'a> for Node<'a, T>
where T: ForEachChild<'a>,