Struct jj_cli::template_parser::LambdaNode
source · pub struct LambdaNode<'i> {
pub params: Vec<&'i str>,
pub params_span: Span<'i>,
pub body: Box<ExpressionNode<'i>>,
}Fields§
§params: Vec<&'i str>§params_span: Span<'i>§body: Box<ExpressionNode<'i>>Trait Implementations§
source§impl<'i> Clone for LambdaNode<'i>
impl<'i> Clone for LambdaNode<'i>
source§fn clone(&self) -> LambdaNode<'i>
fn clone(&self) -> LambdaNode<'i>
Returns a copy 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<'i> Debug for LambdaNode<'i>
impl<'i> Debug for LambdaNode<'i>
source§impl<'i> PartialEq for LambdaNode<'i>
impl<'i> PartialEq for LambdaNode<'i>
source§fn eq(&self, other: &LambdaNode<'i>) -> bool
fn eq(&self, other: &LambdaNode<'i>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'i> StructuralPartialEq for LambdaNode<'i>
Auto Trait Implementations§
impl<'i> RefUnwindSafe for LambdaNode<'i>
impl<'i> Send for LambdaNode<'i>
impl<'i> Sync for LambdaNode<'i>
impl<'i> Unpin for LambdaNode<'i>
impl<'i> UnwindSafe for LambdaNode<'i>
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