Struct ezno_parser::statements::ThrowStatement
source · pub struct ThrowStatement(pub Keyword<Throw>, pub Box<MultipleExpression>, pub Span);
Tuple Fields§
§0: Keyword<Throw>
§1: Box<MultipleExpression>
§2: 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) -> Statement
fn from(item: ThrowStatement) -> Statement
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, 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 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