pub struct TryStatement<'tree> {
pub span: Span,
pub body: StatementBlock<'tree>,
pub finalizer: Option<FinallyClause<'tree>>,
pub handler: Option<CatchClause<'tree>>,
}Fields§
§span: Span§body: StatementBlock<'tree>§finalizer: Option<FinallyClause<'tree>>§handler: Option<CatchClause<'tree>>Trait Implementations§
Source§impl<'tree> Clone for TryStatement<'tree>
impl<'tree> Clone for TryStatement<'tree>
Source§fn clone(&self) -> TryStatement<'tree>
fn clone(&self) -> TryStatement<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for TryStatement<'tree>
impl<'tree> Debug for TryStatement<'tree>
Source§impl<'tree> FromNode<'tree> for TryStatement<'tree>
impl<'tree> FromNode<'tree> for TryStatement<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TryStatement<'tree>
impl<'tree> RefUnwindSafe for TryStatement<'tree>
impl<'tree> Send for TryStatement<'tree>
impl<'tree> Sync for TryStatement<'tree>
impl<'tree> Unpin for TryStatement<'tree>
impl<'tree> UnsafeUnpin for TryStatement<'tree>
impl<'tree> UnwindSafe for TryStatement<'tree>
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