pub struct TryExpression {
pub body: Block,
pub catches: Vec<CatchExpression>,
pub finally: Option<Block>,
}
Fields§
§body: Block
§catches: Vec<CatchExpression>
§finally: Option<Block>
Trait Implementations§
Source§impl Clone for TryExpression
impl Clone for TryExpression
Source§fn clone(&self) -> TryExpression
fn clone(&self) -> TryExpression
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 Debug for TryExpression
impl Debug for TryExpression
Source§impl PartialEq for TryExpression
impl PartialEq for TryExpression
impl StructuralPartialEq for TryExpression
Auto Trait Implementations§
impl Freeze for TryExpression
impl RefUnwindSafe for TryExpression
impl Send for TryExpression
impl Sync for TryExpression
impl Unpin for TryExpression
impl UnwindSafe for TryExpression
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