pub trait MyWorldImportsGetHost<T>:
    Fn(T) -> Self::Host
    + Send
    + Sync
    + Copy
    + 'static {
    type Host: MyWorldImports;
}
Available on crate feature runtime and crate feature component-model and docsrs only.

Required Associated Types§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<F, T, O> MyWorldImportsGetHost<T> for F
where F: Fn(T) -> O + Send + Sync + Copy + 'static, O: MyWorldImports,

source§

type Host = O