Struct ezno_parser::statements::ReturnStatement
source · pub struct ReturnStatement(pub Keyword<Return>, pub Option<MultipleExpression>, pub Span);
Tuple Fields§
§0: Keyword<Return>
§1: Option<MultipleExpression>
§2: 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 From<ReturnStatement> for Statement
impl From<ReturnStatement> for Statement
source§fn from(item: ReturnStatement) -> Statement
fn from(item: ReturnStatement) -> Statement
Converts to this type from the input type.
source§impl GetFieldByType<BaseSpan<()>> for ReturnStatement
impl GetFieldByType<BaseSpan<()>> for ReturnStatement
source§impl PartialEq for ReturnStatement
impl PartialEq for ReturnStatement
source§impl SelfRustTokenize for ReturnStatement
impl SelfRustTokenize for ReturnStatement
fn append_to_token_stream(&self, token_stream: &mut TokenStream)
source§fn to_tokens(&self) -> TokenStream
fn to_tokens(&self) -> TokenStream
Returns the tokens used to construct self
source§impl Serialize for ReturnStatement
impl Serialize for ReturnStatement
source§impl<'try_into_ref> TryInto<&'try_into_ref ReturnStatement> for &'try_into_ref Statement
impl<'try_into_ref> TryInto<&'try_into_ref ReturnStatement> for &'try_into_ref Statement
source§impl<'try_into_ref> TryInto<&'try_into_ref mut ReturnStatement> for &'try_into_ref mut Statement
impl<'try_into_ref> TryInto<&'try_into_ref mut ReturnStatement> for &'try_into_ref mut Statement
source§impl Visitable for ReturnStatement
impl Visitable for ReturnStatement
fn visit<TData>( &self, visitors: &mut (impl VisitorReceiver<TData> + ?Sized), data: &mut TData, settings: &VisitSettings, chain: &mut Annex<'_, Chain> )
fn visit_mut<TData>( &mut self, visitors: &mut (impl VisitorMutReceiver<TData> + ?Sized), data: &mut TData, settings: &VisitSettings, chain: &mut Annex<'_, Chain> )
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