Trait veloren_common_state::plugin::module::types::GetHost

source ·
pub trait GetHost<T>: Fn(T) -> Self::Host + Send + Sync + Copy + 'static {
    type Host: Host;
}

Required Associated Types§

Object Safety§

This trait is not object safe.

Implementors§

source§

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

§

type Host = O