Struct sqparse::ast::ReturnStatement
source · pub struct ReturnStatement<'s> {
pub return_: &'s Token<'s>,
pub value: Option<Box<Expression<'s>>>,
}Expand description
A return statement.
Grammar: return Expression?
Fields§
§return_: &'s Token<'s>§value: Option<Box<Expression<'s>>>Trait Implementations§
source§impl<'s> Clone for ReturnStatement<'s>
impl<'s> Clone for ReturnStatement<'s>
source§fn clone(&self) -> ReturnStatement<'s>
fn clone(&self) -> ReturnStatement<'s>
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