Enum parser_haskell::ast::Assignment
[−]
[src]
pub enum Assignment { Assign { pats: Vec<Pat>, expr: Expr, }, Case { pats: Vec<Pat>, sets: Vec<(Vec<(Expr, Option<Expr>)>, Expr)>, }, }
Variants
Assign
Fields of Assign
pats: Vec<Pat> | |
expr: Expr |
Case
Fields of Case
pats: Vec<Pat> | |
sets: Vec<(Vec<(Expr, Option<Expr>)>, Expr)> |
Trait Implementations
impl Clone for Assignment
[src]
fn clone(&self) -> Assignment
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