Function wasmtime_wasi_nn::add_to_linker[][src]

pub fn add_to_linker<T, U>(
    linker: &mut Linker<T>,
    get_cx: impl Fn(&mut T) -> &mut U + Send + Sync + Copy + 'static
) -> Result<()> where
    U: UserErrorConversion + WasiEphemeralNn, 
Expand description

Adds all instance items to the specified Linker.