Function wasmtime::component::bindgen_examples::_3_interface_imports::example::interface_imports::logging::add_to_linker
source ยท pub fn add_to_linker<T, U>(
linker: &mut Linker<T>,
get: impl Fn(&mut T) -> &mut U + Send + Sync + Copy + 'static,
) -> Result<()>where
U: Host,
Available on crate feature
runtime
and crate feature component-model
and docsrs
only.