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 moreSource§impl Debug for OptimizedRule
impl Debug for OptimizedRule
Source§impl PartialEq for OptimizedRule
impl PartialEq for OptimizedRule
impl Eq for OptimizedRule
impl StructuralPartialEq for OptimizedRule
Auto Trait Implementations§
impl Freeze for OptimizedRule
impl RefUnwindSafe for OptimizedRule
impl Send for OptimizedRule
impl Sync for OptimizedRule
impl Unpin for OptimizedRule
impl UnwindSafe for OptimizedRule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more