pub struct LambdaExpression {
pub parameters: Box<LambdaParameters>,
pub operator: _SubGst,
pub body: Box<Expr>,
}Fields§
§parameters: Box<LambdaParameters>§operator: _SubGst§body: Box<Expr>Implementations§
Source§impl LambdaExpression
impl LambdaExpression
pub fn new(parameters: LambdaParameters, operator: _SubGst, body: Expr) -> Self
Trait Implementations§
Source§impl Debug for LambdaExpression
impl Debug for LambdaExpression
Source§impl From<LambdaExpression> for Component
impl From<LambdaExpression> for Component
Source§fn from(value: LambdaExpression) -> Self
fn from(value: LambdaExpression) -> Self
Converts to this type from the input type.
Source§impl From<LambdaExpression> for Expr
impl From<LambdaExpression> for Expr
Source§fn from(value: LambdaExpression) -> Self
fn from(value: LambdaExpression) -> Self
Converts to this type from the input type.
Source§impl From<LambdaExpression> for SequenceElement
impl From<LambdaExpression> for SequenceElement
Source§fn from(value: LambdaExpression) -> Self
fn from(value: LambdaExpression) -> Self
Converts to this type from the input type.
Source§impl From<LambdaExpression> for SyntaxNode
impl From<LambdaExpression> for SyntaxNode
Source§fn from(value: LambdaExpression) -> Self
fn from(value: LambdaExpression) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for LambdaExpression
impl PrettyTree for LambdaExpression
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for LambdaExpressionwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for LambdaExpressionwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToCells for LambdaExpression
impl ToCells for LambdaExpression
Source§fn to_cells(&self, output: &mut CellStream)
fn to_cells(&self, output: &mut CellStream)
Appends this value’s global cells to
output.Source§fn to_cell_stream(&self, source_id: SourceId) -> CellStream
fn to_cell_stream(&self, source_id: SourceId) -> CellStream
Emits this value into a fresh cell stream with the requested identity.
Source§impl ToTokens for LambdaExpression
impl ToTokens for LambdaExpression
Auto Trait Implementations§
impl Freeze for LambdaExpression
impl RefUnwindSafe for LambdaExpression
impl Send for LambdaExpression
impl Sync for LambdaExpression
impl Unpin for LambdaExpression
impl UnsafeUnpin for LambdaExpression
impl UnwindSafe for LambdaExpression
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