pub struct JavaCatchClause {
pub exception_types: Vec<String>,
pub var_name: String,
pub body: Vec<JavaStmt>,
}Expand description
A single catch clause in a try-catch.
Fields§
§exception_types: Vec<String>Exception type(s) (e.g. "IOException" or "IOException | SQLException")
var_name: StringBound variable name
body: Vec<JavaStmt>Handler body
Trait Implementations§
Source§impl Clone for JavaCatchClause
impl Clone for JavaCatchClause
Source§fn clone(&self) -> JavaCatchClause
fn clone(&self) -> JavaCatchClause
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 JavaCatchClause
impl Debug for JavaCatchClause
Source§impl PartialEq for JavaCatchClause
impl PartialEq for JavaCatchClause
impl StructuralPartialEq for JavaCatchClause
Auto Trait Implementations§
impl Freeze for JavaCatchClause
impl RefUnwindSafe for JavaCatchClause
impl Send for JavaCatchClause
impl Sync for JavaCatchClause
impl Unpin for JavaCatchClause
impl UnsafeUnpin for JavaCatchClause
impl UnwindSafe for JavaCatchClause
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