pub trait PestDeconstruct<'i> {
type Rule: RuleType;
// Required method
fn deconstruct(self) -> PestDeconstructor<'i, Self::Rule>;
}Expand description
Deconstruct a Pest Pair into its inner productions in a strongly-typed, panic-enforced manner.
See PestDeconstructor for more information.
Required Associated Types§
Required Methods§
Sourcefn deconstruct(self) -> PestDeconstructor<'i, Self::Rule>
fn deconstruct(self) -> PestDeconstructor<'i, Self::Rule>
Create a new PestDeconstructor to disassemble the Pest parse tree.