Function tlua::protected_call

source ·
pub fn protected_call<L, F, R>(lua: L, f: F) -> Result<R, LuaError>
where L: AsLua, F: FnOnce(StaticLua) -> R,
Expand description