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: String
The name of the rule.
ty: RuleType
The type of the rule.
expr: OptimizedExpr
The 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