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 more