Trait bones_scripting::lua::CtxExt

source ·
pub trait CtxExt {
    // Required method
    fn singletons(&self) -> &LuaSingletons;
}
Expand description

Extension trait for the [Context] that makes it easier to access our lua singletons.

Required Methods§

source

fn singletons(&self) -> &LuaSingletons

Get a reference to the lua singletons.

Implementations on Foreign Types§

source§

impl CtxExt for Context<'_>

Implementors§