Struct mun_syntax::ast::ReturnExpr
source · pub struct ReturnExpr { /* private fields */ }
Implementations§
Trait Implementations§
source§impl AstNode for ReturnExpr
impl AstNode for ReturnExpr
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
source§impl Clone for ReturnExpr
impl Clone for ReturnExpr
source§fn clone(&self) -> ReturnExpr
fn clone(&self) -> ReturnExpr
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 Debug for ReturnExpr
impl Debug for ReturnExpr
source§impl From<ReturnExpr> for Expr
impl From<ReturnExpr> for Expr
source§fn from(n: ReturnExpr) -> Expr
fn from(n: ReturnExpr) -> Expr
Converts to this type from the input type.