pub struct LambdaBody {
pub params: Vec<Param>,
pub body: Block,
pub captured: Vec<String>,
}Expand description
A lambda body collected during expression codegen for deferred compilation.
Fields§
§params: Vec<Param>§body: Block§captured: Vec<String>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 moreAuto 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