Function create_root_module

Source
pub fn create_root_module<H, M>(
    lua: &Lua,
    init_hooks: H,
    init_miz: M,
) -> LuaResult<LuaTable<'_>>
where H: Fn(HooksLua<'_>) -> Result<()> + 'static, M: Fn(MizLua<'_>) -> Result<()> + 'static,