Enum resast::expr::ArrowFuncBody [−][src]
Expand description
The body portion of an arrow function can be either an expression or a block of statements
Variants
FuncBody(FuncBody<'a>)
Tuple Fields
0: FuncBody<'a>
Expr(Box<Expr<'a>>)
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ArrowFuncBody<'a>
impl<'a> Send for ArrowFuncBody<'a>
impl<'a> Sync for ArrowFuncBody<'a>
impl<'a> Unpin for ArrowFuncBody<'a>
impl<'a> UnwindSafe for ArrowFuncBody<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more