pub struct Catch {
pub exc: Vec<Arc<str>>,
pub var: u32,
pub var_name: Option<String>,
pub body: Box<Stmt>,
}Fields§
§exc: Vec<Arc<str>>Exception class internal names (multi-catch when >1);
empty = catch-all (finally style / Throwable). Arc<str>:
shared with the dex/classfile string tables through the whole
catch pipeline (Cfg → TryGroup → Region → Catch) — these used to
be re-allocated at every hop for every handler of every method.
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