fn validate_child(
        &self,
        _ctx: &Context,
        _node: NodePtr,
        _constraints: &[NodeVariant],
    ) -> Result<(), ValidationError> {
        Ok(())
    }
/// Check whether this is a valid child of `node` given the constraints.
Check whether this is a valid child of `node` given the constraints.
Check whether this is a valid child of ` node ` given the constraints .
fn validate_child(
        &self,
        _ctx: &Context,
        _node: NodePtr,
        _constraints: &[NodeVariant],
    ) -> Result<(), ValidationError> {
        Ok(())
    }
fn validate_child ( & self , _ctx : & Context , _node : NodePtr , _constraints : & [ NodeVariant ] , ) -> Result < ( ) , ValidationError > { Ok ( ( ) ) }
Check whether this is a valid child of `node` given the constraints.
Check whether this is a valid child of ` node ` given the constraints .
&self
_ctx
&Context
_node
NodePtr
_constraints
&[NodeVariant]
&self
_ctx
&Context
_node
NodePtr
_constraints
&[NodeVariant]