#[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: u32Compiler version.
0x19930520: up to VC60x19930521: VC7.x (2002-2003)0x19930522: VC8 (2005)
max_state: i32Number of entries in the unwind table.
unwind_map: PtrTable of unwind destructors.
try_blocks: u32Number 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: i32VC8+ only, bit 0 set if function was compiled with /EHs.
Trait Implementations§
impl Copy for FuncInfo
impl Pod for FuncInfo
Auto Trait Implementations§
impl Freeze for FuncInfo
impl RefUnwindSafe for FuncInfo
impl Send for FuncInfo
impl Sync for FuncInfo
impl Unpin for FuncInfo
impl UnwindSafe for FuncInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> PodMethods for T
impl<T> PodMethods for T
Source§fn as_bytes_mut(&mut self) -> &mut [u8] ⓘ
fn as_bytes_mut(&mut self) -> &mut [u8] ⓘ
Returns the object’s memory as a mutable byte slice.
Source§fn as_data_view(&self) -> &DataView
fn as_data_view(&self) -> &DataView
Returns a data view into the object’s memory.
Source§fn 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.