pub enum Expression<'tree> {
Arg(Box<Arg<'tree>>),
Assignment(Box<Assignment<'tree>>),
Binary(Box<Binary<'tree>>),
Break(Box<Break<'tree>>),
Call(Box<Call<'tree>>),
MatchPattern(Box<MatchPattern<'tree>>),
Next(Box<Next<'tree>>),
OperatorAssignment(Box<OperatorAssignment<'tree>>),
Return(Box<Return<'tree>>),
TestPattern(Box<TestPattern<'tree>>),
Unary(Box<Unary<'tree>>),
Yield(Box<Yield<'tree>>),
}Variants§
Arg(Box<Arg<'tree>>)
Assignment(Box<Assignment<'tree>>)
Binary(Box<Binary<'tree>>)
Break(Box<Break<'tree>>)
Call(Box<Call<'tree>>)
MatchPattern(Box<MatchPattern<'tree>>)
Next(Box<Next<'tree>>)
OperatorAssignment(Box<OperatorAssignment<'tree>>)
Return(Box<Return<'tree>>)
TestPattern(Box<TestPattern<'tree>>)
Unary(Box<Unary<'tree>>)
Yield(Box<Yield<'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 · 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>
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> Eq for Expression<'tree>
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