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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§