Enum earlgrey::Tree
[−]
[src]
pub enum Tree { Leaf(String, String), Node(String, Vec<Tree>), }
Variants
Leaf(String, String)
Node(String, Vec<Tree>)
Methods
impl Tree
[src]
fn print(&self)
fn builder<'a>(g: Grammar) -> EarleyEvaler<'a, Tree>
Trait Implementations
impl Debug for Tree
[src]
impl Clone for Tree
[src]
fn clone(&self) -> Tree
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