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§

source

fn singletons(&self) -> &LuaSingletons

Get a reference to the lua singletons.

Implementors§

source§

impl CtxExt for Context<'_>