pub enum Expression<'tree> {
Show 40 variants
Apply(Box<Apply<'tree>>),
ArithmeticSequence(Box<ArithmeticSequence<'tree>>),
Case(Box<Case<'tree>>),
Conditional(Box<Conditional<'tree>>),
Constructor(Box<Constructor<'tree>>),
Do(Box<Do<'tree>>),
ImplicitVariable(Box<ImplicitVariable<'tree>>),
Infix(Box<Infix<'tree>>),
Label(Box<Label<'tree>>),
Lambda(Box<Lambda<'tree>>),
LambdaCase(Box<LambdaCase<'tree>>),
LambdaCases(Box<LambdaCases<'tree>>),
LeftSection(Box<LeftSection<'tree>>),
LetIn(Box<LetIn<'tree>>),
List(Box<List<'tree>>),
ListComprehension(Box<ListComprehension<'tree>>),
Literal(Box<Literal<'tree>>),
MultiWayIf(Box<MultiWayIf<'tree>>),
Negation(Box<Negation<'tree>>),
Parens(Box<Parens<'tree>>),
PrefixId(Box<PrefixId<'tree>>),
PrefixTuple(Box<PrefixTuple<'tree>>),
PrefixUnboxedSum(Box<PrefixUnboxedSum<'tree>>),
PrefixUnboxedTuple(Box<PrefixUnboxedTuple<'tree>>),
Projection(Box<Projection<'tree>>),
ProjectionSelector(Box<ProjectionSelector<'tree>>),
Qualified(Box<Qualified<'tree>>),
Quasiquote(Box<Quasiquote<'tree>>),
Quote(Box<Quote<'tree>>),
Record(Box<Record<'tree>>),
RightSection(Box<RightSection<'tree>>),
Splice(Box<Splice<'tree>>),
ThQuotedName(Box<ThQuotedName<'tree>>),
Tuple(Box<Tuple<'tree>>),
TypedQuote(Box<TypedQuote<'tree>>),
UnboxedSum(Box<UnboxedSum<'tree>>),
UnboxedTuple(Box<UnboxedTuple<'tree>>),
UnboxedUnit(Box<UnboxedUnit<'tree>>),
Unit(Box<Unit<'tree>>),
Variable(Box<Variable<'tree>>),
}Variants§
Apply(Box<Apply<'tree>>)
ArithmeticSequence(Box<ArithmeticSequence<'tree>>)
Case(Box<Case<'tree>>)
Conditional(Box<Conditional<'tree>>)
Constructor(Box<Constructor<'tree>>)
Do(Box<Do<'tree>>)
ImplicitVariable(Box<ImplicitVariable<'tree>>)
Infix(Box<Infix<'tree>>)
Label(Box<Label<'tree>>)
Lambda(Box<Lambda<'tree>>)
LambdaCase(Box<LambdaCase<'tree>>)
LambdaCases(Box<LambdaCases<'tree>>)
LeftSection(Box<LeftSection<'tree>>)
LetIn(Box<LetIn<'tree>>)
List(Box<List<'tree>>)
ListComprehension(Box<ListComprehension<'tree>>)
Literal(Box<Literal<'tree>>)
MultiWayIf(Box<MultiWayIf<'tree>>)
Negation(Box<Negation<'tree>>)
Parens(Box<Parens<'tree>>)
PrefixId(Box<PrefixId<'tree>>)
PrefixTuple(Box<PrefixTuple<'tree>>)
PrefixUnboxedSum(Box<PrefixUnboxedSum<'tree>>)
PrefixUnboxedTuple(Box<PrefixUnboxedTuple<'tree>>)
Projection(Box<Projection<'tree>>)
ProjectionSelector(Box<ProjectionSelector<'tree>>)
Qualified(Box<Qualified<'tree>>)
Quasiquote(Box<Quasiquote<'tree>>)
Quote(Box<Quote<'tree>>)
Record(Box<Record<'tree>>)
RightSection(Box<RightSection<'tree>>)
Splice(Box<Splice<'tree>>)
ThQuotedName(Box<ThQuotedName<'tree>>)
Tuple(Box<Tuple<'tree>>)
TypedQuote(Box<TypedQuote<'tree>>)
UnboxedSum(Box<UnboxedSum<'tree>>)
UnboxedTuple(Box<UnboxedTuple<'tree>>)
UnboxedUnit(Box<UnboxedUnit<'tree>>)
Unit(Box<Unit<'tree>>)
Variable(Box<Variable<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for Expression<'tree>
impl<'tree> Clone for Expression<'tree>
Source§fn clone(&self) -> Expression<'tree>
fn clone(&self) -> Expression<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for Expression<'tree>
impl<'tree> Debug for Expression<'tree>
impl<'tree> Eq for Expression<'tree>
Source§impl<'tree> FromNode<'tree> for Expression<'tree>
impl<'tree> FromNode<'tree> for Expression<'tree>
Source§impl<'tree> PartialEq for Expression<'tree>
impl<'tree> PartialEq for Expression<'tree>
Source§impl Spanned for Expression<'_>
impl Spanned for Expression<'_>
impl<'tree> StructuralPartialEq for Expression<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Expression<'tree>
impl<'tree> RefUnwindSafe for Expression<'tree>
impl<'tree> Send for Expression<'tree>
impl<'tree> Sync for Expression<'tree>
impl<'tree> Unpin for Expression<'tree>
impl<'tree> UnsafeUnpin for Expression<'tree>
impl<'tree> UnwindSafe for Expression<'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