Trait web_assembler::builder::NewFunction [−][src]
pub trait NewFunction<T> { fn new_function(&mut self, t: T, body: FunctionBody) -> FunctionIndex; }
Required Methods
fn new_function(&mut self, t: T, body: FunctionBody) -> FunctionIndex
Implementors
impl NewFunction<TypeIndex> for ModuleBuilder
impl NewFunction<FuncType> for ModuleBuilder