pub struct CatchClause {
pub param: Pattern,
pub body: BlockStatement,
}
Fields
param: Pattern
body: BlockStatement
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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CatchClause) -> bool
fn ne(&self, other: &CatchClause) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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