Struct pest_meta::optimizer::OptimizedRule
source · [−]pub struct OptimizedRule {
pub name: String,
pub ty: RuleType,
pub expr: OptimizedExpr,
}
Fields
name: String
ty: RuleType
expr: OptimizedExpr
Trait Implementations
sourceimpl Clone for OptimizedRule
impl Clone for OptimizedRule
sourcefn clone(&self) -> OptimizedRule
fn clone(&self) -> OptimizedRule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OptimizedRule
impl Debug for OptimizedRule
sourceimpl PartialEq<OptimizedRule> for OptimizedRule
impl PartialEq<OptimizedRule> for OptimizedRule
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &OptimizedRule) -> bool
fn ne(&self, other: &OptimizedRule) -> bool
This method tests for !=
.
impl Eq for OptimizedRule
impl StructuralEq for OptimizedRule
impl StructuralPartialEq for OptimizedRule
Auto Trait Implementations
impl RefUnwindSafe for OptimizedRule
impl Send for OptimizedRule
impl Sync for OptimizedRule
impl Unpin for OptimizedRule
impl UnwindSafe for OptimizedRule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more