Enum rgo::ast::Else [] [src]

pub enum Else {
    If(IfStmt),
    Block(Block),
}

The "else" portion of an if statement.

Variants

else if <condition> { ... }

else { ... }

Trait Implementations

impl Debug for Else
[src]

Formats the value using the given formatter.

impl Clone for Else
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Else
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Else
[src]