Skip to main content

Host

Trait Host 

Source
pub trait Host: Send { }

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Host for &mut HostState

Source§

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>.