pub trait Host: Send { }Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Host for &mut HostState
impl Host for HostState
Host is implemented for &mut HostState on both interfaces:
skip_mut_forwarding_impls suppresses bindgen’s blanket &mut T
forwarding impls, while both store::add_to_linker and
types::add_to_linker require for<'a> D::Data<'a>: Host — which is
&'a mut HostState under HasSelf<HostState>.