pub trait WasmCompiler: Send + Sync {
// Required method
fn compile(&self, source: &str) -> CompileOutcome;
}Required Methods§
fn compile(&self, source: &str) -> CompileOutcome
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".