#[repr(C)]pub struct RuntimeFunction {
pub begin_address: u32,
pub end_address: u32,
pub unwind_info_address: u32,
}
Expand description
An unwind entry for a range of a function.
Unwind information for this function can be loaded with ExceptionData::get_unwind_info
.
Fields§
§begin_address: u32
Function start address.
end_address: u32
Function end address.
unwind_info_address: u32
Unwind info address.
Trait Implementations§
Source§impl Clone for RuntimeFunction
impl Clone for RuntimeFunction
Source§fn clone(&self) -> RuntimeFunction
fn clone(&self) -> RuntimeFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RuntimeFunction
impl Debug for RuntimeFunction
Source§impl Default for RuntimeFunction
impl Default for RuntimeFunction
Source§fn default() -> RuntimeFunction
fn default() -> RuntimeFunction
Returns the “default value” for a type. Read more
Source§impl PartialEq for RuntimeFunction
impl PartialEq for RuntimeFunction
Source§impl<'a> TryFromCtx<'a, Endian> for RuntimeFunctionwhere
RuntimeFunction: 'a,
impl<'a> TryFromCtx<'a, Endian> for RuntimeFunctionwhere
RuntimeFunction: 'a,
type Error = Error
fn try_from_ctx( src: &'a [u8], ctx: Endian, ) -> Result<(RuntimeFunction, usize), <RuntimeFunction as TryFromCtx<'a, Endian>>::Error>
Source§impl<'a> TryIntoCtx<Endian> for &'a RuntimeFunction
impl<'a> TryIntoCtx<Endian> for &'a RuntimeFunction
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian, ) -> Result<usize, <&'a RuntimeFunction as TryIntoCtx<Endian>>::Error>
Source§impl TryIntoCtx<Endian> for RuntimeFunction
impl TryIntoCtx<Endian> for RuntimeFunction
type Error = Error
fn try_into_ctx( self, dst: &mut [u8], ctx: Endian, ) -> Result<usize, <RuntimeFunction as TryIntoCtx<Endian>>::Error>
impl Copy for RuntimeFunction
impl StructuralPartialEq for RuntimeFunction
Auto Trait Implementations§
impl Freeze for RuntimeFunction
impl RefUnwindSafe for RuntimeFunction
impl Send for RuntimeFunction
impl Sync for RuntimeFunction
impl Unpin for RuntimeFunction
impl UnwindSafe for RuntimeFunction
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<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
Source§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
Source§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
Source§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more