Enum rgo::ast::Else
[−]
[src]
pub enum Else { If(IfStmt), Block(Block), }
The "else" portion of an if statement.
Variants
If(IfStmt)
else if <condition> { ... }
Block(Block)
else { ... }
Trait Implementations
impl Debug for Else
[src]
impl Clone for Else
[src]
fn clone(&self) -> Else
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
impl PartialEq for Else
[src]
fn eq(&self, __arg_0: &Else) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Else) -> bool
This method tests for !=
.