pub enum ArrowBody {
Expression(Box<Expression>),
Block(Vec<Statement>),
}Expand description
An arrow-function body: either an expression (concise body) or a block of statements.
Variants§
Trait Implementations§
impl Eq for ArrowBody
impl StructuralPartialEq for ArrowBody
Auto Trait Implementations§
impl Freeze for ArrowBody
impl RefUnwindSafe for ArrowBody
impl Send for ArrowBody
impl Sync for ArrowBody
impl Unpin for ArrowBody
impl UnsafeUnpin for ArrowBody
impl UnwindSafe for ArrowBody
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