#[repr(C)]pub struct TryBlockMapEntry {
pub try_low: i32,
pub try_high: i32,
pub catch_high: i32,
pub catches: i32,
pub handler_array: Ptr<[HandlerType]>,
}
Expand description
Try block descriptor.
Describes a try block with associated catches.
Fields
try_low: i32
This try {}
covers states ranging from try_low
to try_high
.
try_high: i32
catch_high: i32
Highest state inside catch handlers of this try.
catches: i32
Number of catch handlers.
handler_array: Ptr<[HandlerType]>
Catch handlers table.
Trait Implementations
sourceimpl Clone for TryBlockMapEntry
impl Clone for TryBlockMapEntry
sourcefn clone(&self) -> TryBlockMapEntry
fn clone(&self) -> TryBlockMapEntry
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 TryBlockMapEntry
impl Debug for TryBlockMapEntry
sourceimpl Pod for TryBlockMapEntry
impl Pod for TryBlockMapEntry
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 TryBlockMapEntry
Auto Trait Implementations
impl RefUnwindSafe for TryBlockMapEntry
impl Send for TryBlockMapEntry
impl Sync for TryBlockMapEntry
impl Unpin for TryBlockMapEntry
impl UnwindSafe for TryBlockMapEntry
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