1 2 3 4 5 6 7 8
use super::Platform; pub trait Builtin<P>: Send + Sync where P: Platform + ?Sized, { fn instantiate(&self, environment: &mut P::Environment) -> P::Container; }
1 2 3 4 5 6 7 8
use super::Platform; pub trait Builtin<P>: Send + Sync where P: Platform + ?Sized, { fn instantiate(&self, environment: &mut P::Environment) -> P::Container; }