pub struct CSharpCatchClause {
pub exception_type: CSharpType,
pub var_name: String,
pub stmts: Vec<CSharpStmt>,
}Expand description
A catch clause in a try/catch block.
Fields§
§exception_type: CSharpTypeException type (e.g. Exception, InvalidOperationException)
var_name: StringBound name for the exception variable
stmts: Vec<CSharpStmt>Body statements
Trait Implementations§
Source§impl Clone for CSharpCatchClause
impl Clone for CSharpCatchClause
Source§fn clone(&self) -> CSharpCatchClause
fn clone(&self) -> CSharpCatchClause
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 CSharpCatchClause
impl Debug for CSharpCatchClause
Source§impl PartialEq for CSharpCatchClause
impl PartialEq for CSharpCatchClause
impl StructuralPartialEq for CSharpCatchClause
Auto Trait Implementations§
impl Freeze for CSharpCatchClause
impl RefUnwindSafe for CSharpCatchClause
impl Send for CSharpCatchClause
impl Sync for CSharpCatchClause
impl Unpin for CSharpCatchClause
impl UnsafeUnpin for CSharpCatchClause
impl UnwindSafe for CSharpCatchClause
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