pub struct Function<'a, P> { /* private fields */ }Expand description
Runtime function.
Implementations§
Source§impl<'a, P: Pe<'a>> Function<'a, P>
impl<'a, P: Pe<'a>> Function<'a, P>
Sourcepub fn image(&self) -> &'a RUNTIME_FUNCTION
pub fn image(&self) -> &'a RUNTIME_FUNCTION
Returns the underlying runtime function image.
Sourcepub fn unwind_info(&self) -> Result<UnwindInfo<'a, P>>
pub fn unwind_info(&self) -> Result<UnwindInfo<'a, P>>
Gets the unwind info.
Trait Implementations§
impl<'a, P: Copy> Copy for Function<'a, P>
Auto Trait Implementations§
impl<'a, P> Freeze for Function<'a, P>where
P: Freeze,
impl<'a, P> RefUnwindSafe for Function<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for Function<'a, P>where
P: Send,
impl<'a, P> Sync for Function<'a, P>where
P: Sync,
impl<'a, P> Unpin for Function<'a, P>where
P: Unpin,
impl<'a, P> UnwindSafe for Function<'a, P>where
P: UnwindSafe,
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