[][src]Trait cfg::history::AssignPrecedence

pub trait AssignPrecedence {
    fn assign_precedence<R>(&self, rule: &R, looseness: u32) -> Self
    where
        R: GrammarRule
; }

Trait for history types that allow the rule to have its precedence assigned.

Required methods

fn assign_precedence<R>(&self, rule: &R, looseness: u32) -> Self where
    R: GrammarRule

Returns a history. May record the precedence.

Loading content...

Implementors

impl AssignPrecedence for NullHistory[src]

Loading content...