Skip to main content

compile

Function compile 

Source
pub fn compile(
    name: &str,
    f: &Function,
    options: &Options,
) -> Result<String, Error>
Expand description

Optimizes f and generates the Rust function name that computes it (see emit_function).

ยงErrors

Returns an error if the function uses element types or operations that cannot be generated.