Trait bones_framework::prelude::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§
sourcefn singletons(&self) -> &LuaSingletons
fn singletons(&self) -> &LuaSingletons
Get a reference to the lua singletons.