Struct swc_ecma_ast::ReturnStmt
source · [−]Fields
span: Span
arg: Option<Box<Expr>>
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 moresourceimpl Debug for ReturnStmt
impl Debug for ReturnStmt
sourceimpl<'de> Deserialize<'de> for ReturnStmt
impl<'de> Deserialize<'de> for ReturnStmt
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for ReturnStmt
impl EqIgnoreSpan for ReturnStmt
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<ReturnStmt> for Stmt
impl From<ReturnStmt> for Stmt
sourcefn from(v: ReturnStmt) -> Self
fn from(v: ReturnStmt) -> Self
Converts to this type from the input type.
sourceimpl Hash for ReturnStmt
impl Hash for ReturnStmt
sourceimpl PartialEq<ReturnStmt> for ReturnStmt
impl PartialEq<ReturnStmt> for ReturnStmt
sourcefn eq(&self, other: &ReturnStmt) -> bool
fn eq(&self, other: &ReturnStmt) -> bool
sourceimpl Serialize for ReturnStmt
impl Serialize for ReturnStmt
sourceimpl Spanned for ReturnStmt
impl Spanned for ReturnStmt
impl Eq for ReturnStmt
impl StructuralEq for ReturnStmt
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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