pub trait FromValidatedRuleNode<'a>: Sized {
type Grammar;
// Required method
fn from_validated_rule_node(
node: ValidatedRuleNode<'a, Self::Grammar>,
) -> Option<Self>;
}Expand description
Constructs a generated validated context from a validated rule node of the same grammar.
Required Associated Types§
Required Methods§
fn from_validated_rule_node( node: ValidatedRuleNode<'a, Self::Grammar>, ) -> Option<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".