pub struct Function<'a, P> { /* private fields */ }
Expand description
Runtime function.
Implementations
sourceimpl<'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> 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
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