Struct cfg::rule::Rule
[−]
[src]
pub struct Rule<H> { pub rhs: Vec<Symbol>, pub history: H, // some fields omitted }
Typical grammar rule representation.
Fields
rhs: Vec<Symbol>
The rule's right-hand side.
history: H
The rule's history.
Methods
impl<H> Rule<H>
[src]
Trait Implementations
impl<H: Debug> Debug for Rule<H>
[src]
impl<H: Clone> Clone for Rule<H>
[src]
fn clone(&self) -> Rule<H>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more