Enum brain::Statement
[−]
[src]
pub enum Statement { Comment(String), Output(Expression), Declaration { name: String, slice: Option<Slice>, expr: Expression, }, }
Variants
Comment(String)
Output(Expression)
Declaration
Fields of Declaration
name: String | |
slice: Option<Slice> | |
expr: Expression |
Trait Implementations
impl Debug for Statement
[src]
impl PartialEq for Statement
[src]
fn eq(&self, __arg_0: &Statement) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Statement) -> bool
This method tests for !=
.
impl Clone for Statement
[src]
fn clone(&self) -> Statement
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