pub struct TypedCatchClause {
pub binding: Ident,
pub ty: Type,
pub body: StmtId,
pub boxed: bool,
pub span: Span,
}Expand description
ty is the binding’s class type — the root Error class for untyped
catch (e), or the annotated Error subclass (which filters at runtime);
boxed mirrors Let.boxed from the Capture pass.
Fields§
§binding: Ident§ty: Type§body: StmtId§boxed: bool§span: SpanTrait Implementations§
Source§impl Clone for TypedCatchClause
impl Clone for TypedCatchClause
Source§impl Debug for TypedCatchClause
impl Debug for TypedCatchClause
Source§impl PartialEq for TypedCatchClause
impl PartialEq for TypedCatchClause
impl StructuralPartialEq for TypedCatchClause
Auto Trait Implementations§
impl Freeze for TypedCatchClause
impl RefUnwindSafe for TypedCatchClause
impl Send for TypedCatchClause
impl Sync for TypedCatchClause
impl Unpin for TypedCatchClause
impl UnsafeUnpin for TypedCatchClause
impl UnwindSafe for TypedCatchClause
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