pub struct ThrowStatement(pub Box<MultipleExpression>, pub Span);
Tuple Fields§
§0: Box<MultipleExpression>
§1: Span
Trait Implementations§
Source§impl Clone for ThrowStatement
impl Clone for ThrowStatement
Source§fn clone(&self) -> ThrowStatement
fn clone(&self) -> ThrowStatement
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 ThrowStatement
impl Debug for ThrowStatement
Source§impl From<ThrowStatement> for Statement
impl From<ThrowStatement> for Statement
Source§fn from(item: ThrowStatement) -> Self
fn from(item: ThrowStatement) -> Self
Converts to this type from the input type.
Source§impl GetFieldByType<BaseSpan<()>> for ThrowStatement
impl GetFieldByType<BaseSpan<()>> for ThrowStatement
Source§impl PartialEq for ThrowStatement
impl PartialEq for ThrowStatement
Source§impl SelfRustTokenize for ThrowStatement
impl SelfRustTokenize for ThrowStatement
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 ThrowStatement
impl Serialize for ThrowStatement
Source§impl<'try_into_ref> TryInto<&'try_into_ref ThrowStatement> for &'try_into_ref Statement
impl<'try_into_ref> TryInto<&'try_into_ref ThrowStatement> for &'try_into_ref Statement
Source§impl<'try_into_ref> TryInto<&'try_into_ref mut ThrowStatement> for &'try_into_ref mut Statement
impl<'try_into_ref> TryInto<&'try_into_ref mut ThrowStatement> for &'try_into_ref mut Statement
Source§impl Visitable for ThrowStatement
impl Visitable for ThrowStatement
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 ThrowStatement
impl RefUnwindSafe for ThrowStatement
impl Send for ThrowStatement
impl Sync for ThrowStatement
impl Unpin for ThrowStatement
impl UnwindSafe for ThrowStatement
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