Trait rlua::RluaCompat

source ·
pub trait RluaCompat {
    // Required method
    fn context<R, F>(&self, f: F) -> R
       where F: FnOnce(&Lua) -> R;
}

Required Methods§

source

fn context<R, F>(&self, f: F) -> R
where F: FnOnce(&Lua) -> R,

👎Deprecated: Context is no longer needed; call methods on Lua directly.

Object Safety§

This trait is not object safe.

Implementors§