#[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
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