pub struct Lambda(/* private fields */);Expand description
LAMBDA x, y : e (an operator argument, not an expression).
Implementations§
Trait Implementations§
Source§impl AstNode for Lambda
impl AstNode for Lambda
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Whether nodes of
kind can be wrapped.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Wraps
node if it has the right kind.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying node.
impl Eq for Lambda
impl StructuralPartialEq for Lambda
Auto Trait Implementations§
impl !RefUnwindSafe for Lambda
impl !Send for Lambda
impl !Sync for Lambda
impl !UnwindSafe for Lambda
impl Forget for Lambda
impl Freeze for Lambda
impl Move for Lambda
impl Unpin for Lambda
impl UnsafeUnpin for Lambda
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