Skip to main content

WasmCompiler

Trait WasmCompiler 

Source
pub trait WasmCompiler: Send + Sync {
    // Required method
    fn compile(&self, source: &str) -> CompileOutcome;
}

Required Methods§

Source

fn compile(&self, source: &str) -> CompileOutcome

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§