pub struct Catch {
pub exc: Vec<String>,
pub var: u32,
pub var_name: Option<String>,
pub body: Box<Stmt>,
}Fields§
§exc: Vec<String>Exception class internal names (multi-catch when >1);
empty = catch-all (finally style / Throwable).
var: u32Variable holding the exception parameter.
var_name: Option<String>Per-occurrence printed name (avoids nested-catch collisions).
body: Box<Stmt>Trait Implementations§
impl StructuralPartialEq for Catch
Auto Trait Implementations§
impl Freeze for Catch
impl RefUnwindSafe for Catch
impl Send for Catch
impl Sync for Catch
impl Unpin for Catch
impl UnsafeUnpin for Catch
impl UnwindSafe for Catch
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