pub enum Type<'tree> {
Show 23 variants
Apply(Box<Apply<'tree>>),
Infix(Box<Infix<'tree>>),
List(Box<List<'tree>>),
Literal(Box<Literal<'tree>>),
Name(Box<Name<'tree>>),
Parens(Box<Parens<'tree>>),
PrefixId(Box<PrefixId<'tree>>),
PrefixList(Box<PrefixList<'tree>>),
PrefixTuple(Box<PrefixTuple<'tree>>),
PrefixUnboxedSum(Box<PrefixUnboxedSum<'tree>>),
PrefixUnboxedTuple(Box<PrefixUnboxedTuple<'tree>>),
Promoted(Box<Promoted<'tree>>),
Qualified(Box<Qualified<'tree>>),
Quasiquote(Box<Quasiquote<'tree>>),
Splice(Box<Splice<'tree>>),
Star(Box<Star<'tree>>),
Tuple(Box<Tuple<'tree>>),
UnboxedSum(Box<UnboxedSum<'tree>>),
UnboxedTuple(Box<UnboxedTuple<'tree>>),
UnboxedUnit(Box<UnboxedUnit<'tree>>),
Unit(Box<Unit<'tree>>),
Variable(Box<Variable<'tree>>),
Wildcard(Box<Wildcard<'tree>>),
}Variants§
Apply(Box<Apply<'tree>>)
Infix(Box<Infix<'tree>>)
List(Box<List<'tree>>)
Literal(Box<Literal<'tree>>)
Name(Box<Name<'tree>>)
Parens(Box<Parens<'tree>>)
PrefixId(Box<PrefixId<'tree>>)
PrefixList(Box<PrefixList<'tree>>)
PrefixTuple(Box<PrefixTuple<'tree>>)
PrefixUnboxedSum(Box<PrefixUnboxedSum<'tree>>)
PrefixUnboxedTuple(Box<PrefixUnboxedTuple<'tree>>)
Promoted(Box<Promoted<'tree>>)
Qualified(Box<Qualified<'tree>>)
Quasiquote(Box<Quasiquote<'tree>>)
Splice(Box<Splice<'tree>>)
Star(Box<Star<'tree>>)
Tuple(Box<Tuple<'tree>>)
UnboxedSum(Box<UnboxedSum<'tree>>)
UnboxedTuple(Box<UnboxedTuple<'tree>>)
UnboxedUnit(Box<UnboxedUnit<'tree>>)
Unit(Box<Unit<'tree>>)
Variable(Box<Variable<'tree>>)
Wildcard(Box<Wildcard<'tree>>)
Trait Implementations§
impl<'tree> Eq for Type<'tree>
impl<'tree> StructuralPartialEq for Type<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Type<'tree>
impl<'tree> RefUnwindSafe for Type<'tree>
impl<'tree> Send for Type<'tree>
impl<'tree> Sync for Type<'tree>
impl<'tree> Unpin for Type<'tree>
impl<'tree> UnsafeUnpin for Type<'tree>
impl<'tree> UnwindSafe for Type<'tree>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more