Enum solang_parser::pt::CatchClause
source · [−]pub enum CatchClause {
Simple(Loc, Option<Parameter>, Statement),
Named(Loc, Identifier, Parameter, Statement),
}
Variants
Simple(Loc, Option<Parameter>, Statement)
Named(Loc, Identifier, Parameter, Statement)
Trait Implementations
sourceimpl Clone for CatchClause
impl Clone for CatchClause
sourcefn clone(&self) -> CatchClause
fn clone(&self) -> CatchClause
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 Debug for CatchClause
impl Debug for CatchClause
sourceimpl PartialEq<CatchClause> for CatchClause
impl PartialEq<CatchClause> for CatchClause
sourcefn eq(&self, other: &CatchClause) -> bool
fn eq(&self, other: &CatchClause) -> bool
impl Eq for CatchClause
impl StructuralEq for CatchClause
impl StructuralPartialEq for CatchClause
Auto Trait Implementations
impl RefUnwindSafe for CatchClause
impl Send for CatchClause
impl Sync for CatchClause
impl Unpin for CatchClause
impl UnwindSafe for CatchClause
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