Trait bones_framework::prelude::MetatableFn

source ·
pub trait MetatableFn {
    // Required method
    fn metatable_fn(&self) -> fn(_: Context<'_>) -> Table<'_>;
}
Expand description

Helper trait to get a singleton fn pointer for the metatable for a type.

Required Methods§

source

fn metatable_fn(&self) -> fn(_: Context<'_>) -> Table<'_>

Implementors§