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
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