pub struct ExceptionHandler {
pub start_ip: u32,
pub end_ip: u32,
pub catches: Box<[ExceptionCatch]>,
}Expand description
A statically lowered exception handler range.
Fields§
§start_ip: u32First protected instruction, inclusive.
end_ip: u32End of the protected instruction range, exclusive.
catches: Box<[ExceptionCatch]>Catch clauses in source order.
Trait Implementations§
Source§impl Clone for ExceptionHandler
impl Clone for ExceptionHandler
Source§fn clone(&self) -> ExceptionHandler
fn clone(&self) -> ExceptionHandler
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 moreSource§impl Debug for ExceptionHandler
impl Debug for ExceptionHandler
Source§impl<'de> Deserialize<'de> for ExceptionHandler
impl<'de> Deserialize<'de> for ExceptionHandler
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExceptionHandler
Source§impl PartialEq for ExceptionHandler
impl PartialEq for ExceptionHandler
Source§impl Serialize for ExceptionHandler
impl Serialize for ExceptionHandler
impl StructuralPartialEq for ExceptionHandler
Auto Trait Implementations§
impl Freeze 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