Trait pest::RuleType

source ·
pub trait RuleType: Copy + Debug + Eq + Hash + Ord { }
Expand description

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.

Object Safety§

This trait is not object safe.

Implementors§

source§

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