pub struct ExceptionHandler {
pub start: u16,
pub end: u16,
pub exception_class: u32,
pub handler: u16,
}Expand description
One entry of a function’s exception table.
Fields§
§start: u16Offset of the first byte of protected code.
end: u16Offset of the last byte of protected code.
exception_class: u32The exception class caught, or 0 to catch everything.
handler: u16Offset of the handler’s code.
Trait Implementations§
Source§impl Clone for ExceptionHandler
impl Clone for ExceptionHandler
impl Copy for ExceptionHandler
Source§impl Debug for ExceptionHandler
impl Debug for ExceptionHandler
impl Eq for ExceptionHandler
Source§impl PartialEq for ExceptionHandler
impl PartialEq for ExceptionHandler
impl StructuralPartialEq for ExceptionHandler
Auto Trait Implementations§
impl Forget for ExceptionHandler
impl Freeze for ExceptionHandler
impl Move for ExceptionHandler
impl RefUnwindSafe for ExceptionHandler
impl Send for ExceptionHandler
impl Sync for ExceptionHandler
impl Unpin for ExceptionHandler
impl UnsafeUnpin for ExceptionHandler
impl UnwindSafe for ExceptionHandler
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