pub struct ReturnStatement(pub Option<MultipleExpression>, pub Span);Tuple Fields§
§0: Option<MultipleExpression>§1: SpanTrait Implementations§
Source§impl Clone for ReturnStatement
impl Clone for ReturnStatement
Source§fn clone(&self) -> ReturnStatement
fn clone(&self) -> ReturnStatement
Returns a duplicate 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) -> Self
fn from(item: ReturnStatement) -> Self
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, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
fn visit_mut<TData>( &mut self, visitors: &mut (impl VisitorMutReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
Auto Trait Implementations§
impl Freeze for ReturnStatement
impl RefUnwindSafe for ReturnStatement
impl Send for ReturnStatement
impl Sync for ReturnStatement
impl Unpin for ReturnStatement
impl UnsafeUnpin 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