pub struct CodeException {
pub start_pc: u16,
pub end_pc: u16,
pub handler_pc: u16,
pub catch_type: u16,
}Expand description
One Code exception-table row, with all offsets and the catch index retained verbatim.
Fields§
§start_pc: u16Inclusive bytecode start offset.
end_pc: u16Exclusive bytecode end offset.
handler_pc: u16Handler bytecode offset.
catch_type: u16Constant-pool class index, or zero for a catch-all handler.
Trait Implementations§
Source§impl Clone for CodeException
impl Clone for CodeException
Source§fn clone(&self) -> CodeException
fn clone(&self) -> CodeException
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CodeException
Source§impl Debug for CodeException
impl Debug for CodeException
impl Eq for CodeException
Source§impl PartialEq for CodeException
impl PartialEq for CodeException
impl StructuralPartialEq for CodeException
Auto Trait Implementations§
impl Freeze for CodeException
impl RefUnwindSafe for CodeException
impl Send for CodeException
impl Sync for CodeException
impl Unpin for CodeException
impl UnsafeUnpin for CodeException
impl UnwindSafe for CodeException
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