#[repr(C)]pub struct FuncInfo {
pub magic_number: u32,
pub max_state: i32,
pub unwind_map: Ptr,
pub try_blocks: u32,
pub try_block_map: Ptr<UnwindMapEntry>,
pub ip_map_entries: u32,
pub ip_to_state_map: Ptr,
pub es_type_list: Ptr<ESTypeList>,
pub eh_flags: i32,
}
Expand description
Fully describes all try/catch blocks and unwindable objects in the function.
Fields
magic_number: u32
Compiler version.
0x19930520
: up to VC60x19930521
: VC7.x (2002-2003)0x19930522
: VC8 (2005)
max_state: i32
Number of entries in the unwind table.
unwind_map: Ptr
Table of unwind destructors.
try_blocks: u32
Number of try blocks in the function.
try_block_map: Ptr<UnwindMapEntry>
Mapping of catch blocks to try blocks.
ip_map_entries: u32
ip_to_state_map: Ptr
es_type_list: Ptr<ESTypeList>
VC7+ only, expected exceptions list (function “throw” specifier).
eh_flags: i32
VC8+ only, bit 0
set if function was compiled with /EHs
.
Trait Implementations
sourceimpl Pod for FuncInfo
impl Pod for FuncInfo
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 FuncInfo
Auto Trait Implementations
impl RefUnwindSafe for FuncInfo
impl Send for FuncInfo
impl Sync for FuncInfo
impl Unpin for FuncInfo
impl UnwindSafe for FuncInfo
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