Trait lua::functions::Function[−][src]

pub trait Function {
    type Error: Display;
    fn call(state: &mut State) -> Result<usize, Self::Error>;
}

Trait to implement functions that can be called from Lua

Associated Types

Error reported by the function

Required Methods

Implement the call

Implementors