pub enum ClosureExpressionBody<'tree> {
Blank(Span),
Expression(Box<Expression<'tree>>),
}Variants§
Blank(Span)
Expression(Box<Expression<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for ClosureExpressionBody<'tree>
impl<'tree> Clone for ClosureExpressionBody<'tree>
Source§fn clone(&self) -> ClosureExpressionBody<'tree>
fn clone(&self) -> ClosureExpressionBody<'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 ClosureExpressionBody<'tree>
impl<'tree> Debug for ClosureExpressionBody<'tree>
Source§impl<'tree> FromNode<'tree> for ClosureExpressionBody<'tree>
impl<'tree> FromNode<'tree> for ClosureExpressionBody<'tree>
Source§impl<'tree> PartialEq for ClosureExpressionBody<'tree>
impl<'tree> PartialEq for ClosureExpressionBody<'tree>
Source§fn eq(&self, other: &ClosureExpressionBody<'tree>) -> bool
fn eq(&self, other: &ClosureExpressionBody<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for ClosureExpressionBody<'_>
impl Spanned for ClosureExpressionBody<'_>
impl<'tree> Eq for ClosureExpressionBody<'tree>
impl<'tree> StructuralPartialEq for ClosureExpressionBody<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ClosureExpressionBody<'tree>
impl<'tree> RefUnwindSafe for ClosureExpressionBody<'tree>
impl<'tree> Send for ClosureExpressionBody<'tree>
impl<'tree> Sync for ClosureExpressionBody<'tree>
impl<'tree> Unpin for ClosureExpressionBody<'tree>
impl<'tree> UnsafeUnpin for ClosureExpressionBody<'tree>
impl<'tree> UnwindSafe for ClosureExpressionBody<'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