Struct parser::ast::ReturnStatement
source · pub struct ReturnStatement {
pub argument: Expression,
pub span: Span,
}
Fields§
§argument: Expression
§span: Span
Trait Implementations§
source§impl Clone for ReturnStatement
impl Clone for ReturnStatement
source§fn clone(&self) -> ReturnStatement
fn clone(&self) -> ReturnStatement
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 Debug for ReturnStatement
impl Debug for ReturnStatement
source§impl<'de> Deserialize<'de> for ReturnStatement
impl<'de> Deserialize<'de> for ReturnStatement
source§fn 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
source§impl Hash for ReturnStatement
impl Hash for ReturnStatement
source§impl PartialEq<ReturnStatement> for ReturnStatement
impl PartialEq<ReturnStatement> for ReturnStatement
source§fn 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 ==
.source§impl Serialize for ReturnStatement
impl Serialize for ReturnStatement
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more