Struct llvm_plugin_inkwell::execution_engine::JitFunction
source · pub struct JitFunction<'ctx, F> { /* private fields */ }
Expand description
A wrapper around a function pointer which ensures the function being pointed to doesn’t accidentally outlive its execution engine.
Implementations§
source§impl<Output, A, B, C, D, E, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
impl<Output, A, B, C, D, E, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
source§impl<Output, B, C, D, E, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
impl<Output, B, C, D, E, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
source§impl<Output, C, D, E, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
impl<Output, C, D, E, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
source§impl<Output, D, E, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
impl<Output, D, E, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
source§impl<Output, E, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
impl<Output, E, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
source§impl<Output, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
impl<Output, F, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: F, _: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
source§impl<Output, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
impl<Output, G, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: G, _: H, _: I, _: J, _: K, _: L, _: M) -> Output>
source§impl<Output, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: H, _: I, _: J, _: K, _: L, _: M) -> Output>
impl<Output, H, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: H, _: I, _: J, _: K, _: L, _: M) -> Output>
source§impl<Output, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: I, _: J, _: K, _: L, _: M) -> Output>
impl<Output, I, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: I, _: J, _: K, _: L, _: M) -> Output>
source§impl<Output, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: J, _: K, _: L, _: M) -> Output>
impl<Output, J, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: J, _: K, _: L, _: M) -> Output>
source§impl<Output, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: K, _: L, _: M) -> Output>
impl<Output, K, L, M> JitFunction<'_, unsafe extern "C" fn(_: K, _: L, _: M) -> Output>
source§impl<Output, L, M> JitFunction<'_, unsafe extern "C" fn(_: L, _: M) -> Output>
impl<Output, L, M> JitFunction<'_, unsafe extern "C" fn(_: L, _: M) -> Output>
source§impl<Output, M> JitFunction<'_, unsafe extern "C" fn(_: M) -> Output>
impl<Output, M> JitFunction<'_, unsafe extern "C" fn(_: M) -> Output>
Trait Implementations§
source§impl<'ctx, F: Clone> Clone for JitFunction<'ctx, F>
impl<'ctx, F: Clone> Clone for JitFunction<'ctx, F>
source§fn clone(&self) -> JitFunction<'ctx, F>
fn clone(&self) -> JitFunction<'ctx, F>
Returns a copy 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 more