Skip to main content

LuaLClosureRefExt

Trait LuaLClosureRefExt 

Source
pub trait LuaLClosureRefExt {
    // Required methods
    fn proto(&self) -> &GcRef<LuaProto>;
    fn nupvalues(&self) -> usize;
}

Required Methods§

Source

fn proto(&self) -> &GcRef<LuaProto>

Source

fn nupvalues(&self) -> usize

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§