Struct earlgrey::Grammar
[−]
[src]
pub struct Grammar { pub start: String, pub rules: Vec<Rc<Rule>>, }
Fields
start: String
rules: Vec<Rc<Rule>>
Methods
impl Grammar
[src]
Trait Implementations
impl Clone for Grammar
[src]
fn clone(&self) -> Grammar
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