Trait pest_deconstruct::PestDeconstruct [−][src]
pub trait PestDeconstruct<'i> { type Rule: RuleType; fn deconstruct(self) -> PestDeconstructor<'i, Self::Rule>; }
Deconstruct a Pest Pair
into its inner productions in a strongly-typed, panic-enforced manner.
See PestDeconstructor
for more information.
Associated Types
Required Methods
fn deconstruct(self) -> PestDeconstructor<'i, Self::Rule>
Create a new PestDeconstructor
to disassemble the Pest parse tree.
Implementations on Foreign Types
impl<'i, R: RuleType> PestDeconstruct<'i> for Pair<'i, R>
[src]
impl<'i, R: RuleType> PestDeconstruct<'i> for Pair<'i, R>
type Rule = R
fn deconstruct(self) -> PestDeconstructor<'i, R>
[src]
fn deconstruct(self) -> PestDeconstructor<'i, R>