#[repr(C)]pub struct ThrowInfo {
pub attributes: u32,
pub unwind: Ptr,
pub forward_compat: Ptr,
pub catchable_type_array: Ptr<CatchableTypeArray>,
}
Fields
attributes: u32
0x01
: const0x02
: volatile
unwind: Ptr
Exception destructor.
Pointer to function with signature fn()
.
forward_compat: Ptr
Forward compatibility handler.
Pointer to function with signature fn() -> i32
.
catchable_type_array: Ptr<CatchableTypeArray>
List of types that can catch this exception; i.e. the actual type and all its ancestors.
Trait Implementations
sourceimpl Pod for ThrowInfo
impl Pod for ThrowInfo
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 ThrowInfo
Auto Trait Implementations
impl RefUnwindSafe for ThrowInfo
impl Send for ThrowInfo
impl Sync for ThrowInfo
impl Unpin for ThrowInfo
impl UnwindSafe for ThrowInfo
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