pub struct LetExpr(/* private fields */);Expand description
LET defs IN e.
Implementations§
Trait Implementations§
Source§impl AstNode for LetExpr
impl AstNode for LetExpr
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 LetExpr
impl StructuralPartialEq for LetExpr
Auto Trait Implementations§
impl !RefUnwindSafe for LetExpr
impl !Send for LetExpr
impl !Sync for LetExpr
impl !UnwindSafe for LetExpr
impl Forget for LetExpr
impl Freeze for LetExpr
impl Move for LetExpr
impl Unpin for LetExpr
impl UnsafeUnpin for LetExpr
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