Trait rhai::FnRegister [] [src]

pub trait FnRegister<A, RetVal, Args> {
    fn register_fn(&mut self, name: &str, f: A);
}

A trait used for registering functions to an Engine Currently, Rhai supports functions with up to 6 parameters

Required Methods

A method used for registering functions and methods to a Engine

Implementors