Struct lunarity_ast::ReturnStatement
source · pub struct ReturnStatement<'ast> {
pub value: Option<ExpressionNode<'ast>>,
}
Fields§
§value: Option<ExpressionNode<'ast>>
Trait Implementations§
source§impl<'ast> Clone for ReturnStatement<'ast>
impl<'ast> Clone for ReturnStatement<'ast>
source§fn clone(&self) -> ReturnStatement<'ast>
fn clone(&self) -> ReturnStatement<'ast>
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<'ast> Debug for ReturnStatement<'ast>
impl<'ast> Debug for ReturnStatement<'ast>
source§impl<'ast> From<ReturnStatement<'ast>> for Statement<'ast>
impl<'ast> From<ReturnStatement<'ast>> for Statement<'ast>
source§fn from(val: ReturnStatement<'ast>) -> Self
fn from(val: ReturnStatement<'ast>) -> Self
Converts to this type from the input type.