[][src]Struct cranelift_module::ModuleFunction

pub struct ModuleFunction<B> where
    B: Backend
{ pub decl: FunctionDeclaration, pub compiled: Option<B::CompiledFunction>, }

A function belonging to a Module.

Fields

decl: FunctionDeclaration

The function declaration.

compiled: Option<B::CompiledFunction>

The compiled artifact, once it's available.

Auto Trait Implementations

impl<B> RefUnwindSafe for ModuleFunction<B> where
    <B as Backend>::CompiledFunction: RefUnwindSafe

impl<B> Send for ModuleFunction<B> where
    <B as Backend>::CompiledFunction: Send

impl<B> Sync for ModuleFunction<B> where
    <B as Backend>::CompiledFunction: Sync

impl<B> Unpin for ModuleFunction<B> where
    <B as Backend>::CompiledFunction: Unpin

impl<B> UnwindSafe for ModuleFunction<B> where
    <B as Backend>::CompiledFunction: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.