Struct pest::prec_climber::Operator  [−][src]
pub struct Operator<R: RuleType> { /* fields omitted */ }
Infix operator used in PrecClimber.
Methods
impl<R: RuleType> Operator<R>[src] 
impl<R: RuleType> Operator<R>pub fn new(rule: R, assoc: Assoc) -> Operator<R>[src] 
pub fn new(rule: R, assoc: Assoc) -> Operator<R>Creates a new Operator from a Rule and Assoc.
Examples
Operator::new(Rule::plus, Assoc::Left) | Operator::new(Rule::minus, Assoc::Right);
Trait Implementations
impl<R: Debug + RuleType> Debug for Operator<R>[src] 
impl<R: Debug + RuleType> Debug for Operator<R>fn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<R: RuleType> BitOr for Operator<R>[src] 
impl<R: RuleType> BitOr for Operator<R>