pub struct ReturnStatement(pub Option<Expression>);
Tuple Fields
0: Option<Expression>
Trait Implementations
sourceimpl Clone for ReturnStatement
impl Clone for ReturnStatement
sourcefn clone(&self) -> ReturnStatement
fn clone(&self) -> ReturnStatement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReturnStatement
impl Debug for ReturnStatement
sourceimpl From<ReturnStatement> for Stmt
impl From<ReturnStatement> for Stmt
sourcefn from(v: ReturnStatement) -> Self
fn from(v: ReturnStatement) -> Self
Converts to this type from the input type.
sourceimpl Interpretable for ReturnStatement
impl Interpretable for ReturnStatement
sourceimpl PartialEq<ReturnStatement> for ReturnStatement
impl PartialEq<ReturnStatement> for ReturnStatement
sourcefn eq(&self, other: &ReturnStatement) -> bool
fn eq(&self, other: &ReturnStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReturnStatement) -> bool
fn ne(&self, other: &ReturnStatement) -> bool
This method tests for !=
.
impl Eq for ReturnStatement
impl StructuralEq for ReturnStatement
impl StructuralPartialEq for ReturnStatement
Auto Trait Implementations
impl RefUnwindSafe for ReturnStatement
impl !Send for ReturnStatement
impl !Sync for ReturnStatement
impl Unpin for ReturnStatement
impl UnwindSafe for ReturnStatement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more