pub struct LambdaExpr {
pub params: Vec<Param>,
pub body: Block,
pub span: Span,
}Expand description
fn(params) { body } — block-body only.
Fields§
§params: Vec<Param>§body: Block§span: SpanTrait Implementations§
Source§impl Clone for LambdaExpr
impl Clone for LambdaExpr
Source§fn clone(&self) -> LambdaExpr
fn clone(&self) -> LambdaExpr
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 LambdaExpr
impl Debug for LambdaExpr
Source§impl<'de> Deserialize<'de> for LambdaExpr
impl<'de> Deserialize<'de> for LambdaExpr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LambdaExpr
impl PartialEq for LambdaExpr
Source§impl Serialize for LambdaExpr
impl Serialize for LambdaExpr
impl StructuralPartialEq for LambdaExpr
Auto Trait Implementations§
impl Freeze for LambdaExpr
impl RefUnwindSafe for LambdaExpr
impl Send for LambdaExpr
impl Sync for LambdaExpr
impl Unpin for LambdaExpr
impl UnwindSafe for LambdaExpr
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