#[repr(C)]pub struct CatchableType {
pub properties: u32,
pub type_descriptor: Ptr<TypeDescriptor>,
pub pmd: PMD,
pub size_or_offset: i32,
pub copy_function: Ptr,
}Expand description
Describes a type that can catch this exception.
Fields§
§properties: u320x01: simple type (can be copied by memmove)0x02: can be caught by reference only0x04: has virtual bases
type_descriptor: Ptr<TypeDescriptor>Pointer to its type descriptor.
pmd: PMDHow to cast the thrown object to this type.
size_or_offset: i32Object size.
copy_function: PtrCopy constructor address.
Trait Implementations§
Source§impl Clone for CatchableType
impl Clone for CatchableType
Source§fn clone(&self) -> CatchableType
fn clone(&self) -> CatchableType
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 CatchableType
impl Debug for CatchableType
impl Copy for CatchableType
impl Pod for CatchableType
Auto Trait Implementations§
impl Freeze for CatchableType
impl RefUnwindSafe for CatchableType
impl Send for CatchableType
impl Sync for CatchableType
impl Unpin for CatchableType
impl UnwindSafe for CatchableType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> PodMethods for T
impl<T> PodMethods for T
Source§fn as_bytes_mut(&mut self) -> &mut [u8] ⓘ
fn as_bytes_mut(&mut self) -> &mut [u8] ⓘ
Returns the object’s memory as a mutable byte slice.
Source§fn as_data_view(&self) -> &DataView
fn as_data_view(&self) -> &DataView
Returns a data view into the object’s memory.
Source§fn 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.