pub struct AstTry {
pub try_block: AstIndex,
pub catch_blocks: AstVec<AstCatch>,
pub finally_block: Option<AstIndex>,
}
Expand description
A try expression definition
Fields§
§try_block: AstIndex
The block that’s wrapped by the try
catch_blocks: AstVec<AstCatch>
The catch blocks associated with the try expression
finally_block: Option<AstIndex>
An optional finally
block
Trait Implementations§
impl Eq for AstTry
impl StructuralPartialEq for AstTry
Auto Trait Implementations§
impl Freeze for AstTry
impl RefUnwindSafe for AstTry
impl Send for AstTry
impl Sync for AstTry
impl Unpin for AstTry
impl UnwindSafe for AstTry
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