Struct tongue::node::Node
[−]
[src]
pub struct Node { pub v: String, pub options: Vec<String>, pub l: Option<Box<Node>>, pub r: Option<Box<Node>>, pub sibling: Option<Box<Node>>, }
Fields
v: String
options: Vec<String>
l: Option<Box<Node>>
r: Option<Box<Node>>
sibling: Option<Box<Node>>
Trait Implementations
impl Clone for Node
[src]
fn clone(&self) -> Node
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Node
[src]
fn eq(&self, other: &Node) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.