[][src]Trait pest::RuleType

pub trait RuleType: Copy + Debug + Eq + Hash + Ord { }

A trait which parser rules must implement.

This trait is set up so that any struct that implements all of its required traits will automatically implement this trait as well.

This is essentially a trait alias. When trait aliases are implemented, this may be replaced by one.


impl<T: Copy + Debug + Eq + Hash + Ord> RuleType for T