Enum parser_haskell::ast::Ty
[−]
[src]
pub enum Ty {
Span(Vec<Ty>),
Pair(Box<Ty>, Box<Ty>),
Not(Box<Ty>),
Ref(Ident),
Tuple(Vec<Ty>),
Brackets(Box<Ty>),
Record(Vec<(Ident, Ty)>),
EmptyParen,
RangeOp,
Dummy,
}Variants
Span(Vec<Ty>)Pair(Box<Ty>, Box<Ty>)Not(Box<Ty>)Ref(Ident)Tuple(Vec<Ty>)Brackets(Box<Ty>)Record(Vec<(Ident, Ty)>)EmptyParenRangeOpDummyTrait Implementations
impl Clone for Ty[src]
fn clone(&self) -> Ty
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