Struct rush_parser::ast::ReturnStmt
source · pub struct ReturnStmt<'src> {
pub span: Span<'src>,
pub expr: Option<Expression<'src>>,
}
Fields§
§span: Span<'src>
§expr: Option<Expression<'src>>
Trait Implementations§
source§impl<'src> Clone for ReturnStmt<'src>
impl<'src> Clone for ReturnStmt<'src>
source§fn clone(&self) -> ReturnStmt<'src>
fn clone(&self) -> ReturnStmt<'src>
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 more