Trait pest_ion::PestToElement [−][src]
pub trait PestToElement { type Element: Element; fn pest_to_element(&self) -> Self::Element; }
Expand description
Infallible conversion of a Pest grammar (or part of a grammar) into Ion Element
.
Associated Types
Required methods
fn pest_to_element(&self) -> Self::Element
[src]
fn pest_to_element(&self) -> Self::Element
[src]Converts this into an Element
representation.
This operation cannot fail and therefore it is implied that it represents some well formed Pest grammar or component thereof.
Implementations on Foreign Types
Converts a body of rules into a struct
that has a rule for each field.
type Element = OwnedElement
type Element = OwnedElement
Serializes the enum into a symbolic value.
type Element = OwnedElement
Generates a sexp
representation of the rule expression.
type Element = OwnedElement