Trait jumpy::prelude::MetatableFn

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§

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

Implementors§