Struct roost_lang::nodes::ReturnStmt
source · [−]pub struct ReturnStmt {
pub span: Span,
pub expr: Option<Expression>,
}
Fields
span: Span
expr: Option<Expression>
Trait Implementations
sourceimpl Clone for ReturnStmt
impl Clone for ReturnStmt
sourcefn clone(&self) -> ReturnStmt
fn clone(&self) -> ReturnStmt
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 ReturnStmt
impl Debug for ReturnStmt
sourceimpl PartialEq<ReturnStmt> for ReturnStmt
impl PartialEq<ReturnStmt> for ReturnStmt
sourcefn eq(&self, other: &ReturnStmt) -> bool
fn eq(&self, other: &ReturnStmt) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReturnStmt) -> bool
fn ne(&self, other: &ReturnStmt) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReturnStmt
Auto Trait Implementations
impl RefUnwindSafe for ReturnStmt
impl Send for ReturnStmt
impl Sync for ReturnStmt
impl Unpin for ReturnStmt
impl UnwindSafe for ReturnStmt
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