Struct pest_meta::optimizer::OptimizedRule
source · pub struct OptimizedRule {
pub name: String,
pub ty: RuleType,
pub expr: OptimizedExpr,
}Expand description
The optimized version of the pest AST’s Rule.
Fields§
§name: StringThe name of the rule.
ty: RuleTypeThe type of the rule.
expr: OptimizedExprThe optimized expression of the rule.
Trait Implementations§
source§impl Clone for OptimizedRule
impl Clone for OptimizedRule
source§fn clone(&self) -> OptimizedRule
fn clone(&self) -> OptimizedRule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for OptimizedRule
impl Debug for OptimizedRule
source§impl PartialEq<OptimizedRule> for OptimizedRule
impl PartialEq<OptimizedRule> for OptimizedRule
source§fn eq(&self, other: &OptimizedRule) -> bool
fn eq(&self, other: &OptimizedRule) -> bool
This method tests for
self and other values to be equal, and is used
by ==.