Struct esr::ast::statement::ThrowStatement
source · pub struct ThrowStatement<'ast> {
pub value: ExpressionNode<'ast>,
}
Fields
value: ExpressionNode<'ast>
Trait Implementations
sourceimpl<'ast> Clone for ThrowStatement<'ast>
impl<'ast> Clone for ThrowStatement<'ast>
sourcefn clone(&self) -> ThrowStatement<'ast>
fn clone(&self) -> ThrowStatement<'ast>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'ast> Debug for ThrowStatement<'ast>
impl<'ast> Debug for ThrowStatement<'ast>
sourceimpl<'ast> From<ThrowStatement<'ast>> for Statement<'ast>
impl<'ast> From<ThrowStatement<'ast>> for Statement<'ast>
sourcefn from(val: ThrowStatement<'ast>) -> Self
fn from(val: ThrowStatement<'ast>) -> Self
Converts to this type from the input type.
sourceimpl<'ast> PartialEq<ThrowStatement<'ast>> for ThrowStatement<'ast>
impl<'ast> PartialEq<ThrowStatement<'ast>> for ThrowStatement<'ast>
sourcefn eq(&self, other: &ThrowStatement<'ast>) -> bool
fn eq(&self, other: &ThrowStatement<'ast>) -> bool
impl<'ast> Copy for ThrowStatement<'ast>
impl<'ast> StructuralPartialEq for ThrowStatement<'ast>
Auto Trait Implementations
impl<'ast> RefUnwindSafe for ThrowStatement<'ast>
impl<'ast> Send for ThrowStatement<'ast>
impl<'ast> !Sync for ThrowStatement<'ast>
impl<'ast> Unpin for ThrowStatement<'ast>
impl<'ast> UnwindSafe for ThrowStatement<'ast>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more