pub struct TryStatement {
pub block: BlockStatement,
pub handler: Option<CatchClause>,
pub finalizer: Option<BlockStatement>,
}
Fields
block: BlockStatement
handler: Option<CatchClause>
finalizer: Option<BlockStatement>
Trait Implementations
sourceimpl Clone for TryStatement
impl Clone for TryStatement
sourcefn clone(&self) -> TryStatement
fn clone(&self) -> TryStatement
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 TryStatement
impl Debug for TryStatement
sourceimpl Interpretable for TryStatement
impl Interpretable for TryStatement
sourceimpl PartialEq<TryStatement> for TryStatement
impl PartialEq<TryStatement> for TryStatement
sourcefn eq(&self, other: &TryStatement) -> bool
fn eq(&self, other: &TryStatement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TryStatement) -> bool
fn ne(&self, other: &TryStatement) -> bool
This method tests for !=
.
impl Eq for TryStatement
impl StructuralEq for TryStatement
impl StructuralPartialEq for TryStatement
Auto Trait Implementations
impl RefUnwindSafe for TryStatement
impl !Send for TryStatement
impl !Sync for TryStatement
impl Unpin for TryStatement
impl UnwindSafe for TryStatement
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