pub enum LambdaBody {
Expression(Box<Expression>),
Block(Block),
}Variants§
Expression(Box<Expression>)
Block(Block)
Trait Implementations§
Source§impl Clone for LambdaBody
impl Clone for LambdaBody
Source§fn clone(&self) -> LambdaBody
fn clone(&self) -> LambdaBody
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 Debug for LambdaBody
impl Debug for LambdaBody
Source§impl PartialEq for LambdaBody
impl PartialEq for LambdaBody
impl StructuralPartialEq for LambdaBody
Auto Trait Implementations§
impl Freeze for LambdaBody
impl RefUnwindSafe for LambdaBody
impl Send for LambdaBody
impl Sync for LambdaBody
impl Unpin for LambdaBody
impl UnwindSafe for LambdaBody
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