Skip to main content

FromValidatedRuleNode

Trait FromValidatedRuleNode 

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

Source

type Grammar

The generated module’s ValidatedTreeContext marker.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§