Struct swc_ecma_ast::TryStmt
source · [−]pub struct TryStmt {
pub span: Span,
pub block: BlockStmt,
pub handler: Option<CatchClause>,
pub finalizer: Option<BlockStmt>,
}
Fields
span: Span
block: BlockStmt
handler: Option<CatchClause>
finalizer: Option<BlockStmt>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TryStmt
impl<'de> Deserialize<'de> for TryStmt
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for TryStmt
impl EqIgnoreSpan for TryStmt
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TryStmt> for ModuleItem
impl From<TryStmt> for ModuleItem
sourcefn from(src: TryStmt) -> ModuleItem
fn from(src: TryStmt) -> ModuleItem
Converts to this type from the input type.
impl Eq for TryStmt
impl StructuralEq for TryStmt
impl StructuralPartialEq for TryStmt
Auto Trait Implementations
impl RefUnwindSafe for TryStmt
impl Send for TryStmt
impl Sync for TryStmt
impl Unpin for TryStmt
impl UnwindSafe for TryStmt
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