#[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 VC6
  • 0x19930521: 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: u32ip_to_state_map: Ptres_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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns a zero-initialized instance of the type.
Returns the object’s memory as a byte slice.
Returns the object’s memory as a mutable byte slice.
Returns a data view into the object’s memory.
Returns a mutable data view into the object’s memory.
Safely transmutes to another type. Read more
Safely transmutes references to another type. Read more
Safely transmutes references to another type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.