#[repr(C)]pub struct HandlerType {
pub adjectives: u32,
pub ty: Ptr<TypeDescriptor>,
pub disp_catch_obj: i32,
pub address_of_handler: Ptr,
}
Expand description
Catch block descriptor.
Describes a single catch of a try block.
Fields
adjectives: u32
0x01
: const0x02
: volatile0x08
: reference
ty: Ptr<TypeDescriptor>
RTTI descriptor of the exception type. 0
= any (ellipsis).
disp_catch_obj: i32
EBP-based offset of the exception object in the function stack. 0
= no object (catch by type).
address_of_handler: Ptr
Address of the catch handler Code.
Returns address where to continues execution (i.e. code after the try block).
Trait Implementations
sourceimpl Clone for HandlerType
impl Clone for HandlerType
sourcefn clone(&self) -> HandlerType
fn clone(&self) -> HandlerType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HandlerType
impl Debug for HandlerType
sourceimpl Pod for HandlerType
impl Pod for HandlerType
sourcefn as_bytes(&self) -> &[u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn as_bytes(&self) -> &[u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
Returns the object’s memory as a byte slice.
sourcefn as_bytes_mut(&mut self) -> &mut [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn as_bytes_mut(&mut self) -> &mut [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
Returns the object’s memory as a mutable byte slice.
sourcefn as_data_view(&self) -> &DataView
fn as_data_view(&self) -> &DataView
Returns a data view into the object’s memory.
sourcefn as_data_view_mut(&mut self) -> &mut DataView
fn as_data_view_mut(&mut self) -> &mut DataView
Returns a mutable data view into the object’s memory.
sourcefn transmute_ref<T>(&self) -> &Twhere
T: Pod,
fn transmute_ref<T>(&self) -> &Twhere
T: Pod,
Safely transmutes references to another type. Read more
sourcefn transmute_mut<T>(&mut self) -> &mut Twhere
T: Pod,
fn transmute_mut<T>(&mut self) -> &mut Twhere
T: Pod,
Safely transmutes references to another type. Read more
impl Copy for HandlerType
Auto Trait Implementations
impl RefUnwindSafe for HandlerType
impl Send for HandlerType
impl Sync for HandlerType
impl Unpin for HandlerType
impl UnwindSafe for HandlerType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more