pub fn minijinja_lua(lua: &Lua) -> LuaResult<LuaTable>Expand description
Builds and returns the minijinja lua table.
The returned table has the following keys:
Environment:userdataprovides access to aminijinja::EnvironmentNone: a nil-likelightuserdatathat can be used without the downsides ofnil. It maps tominijinja::value::ValueKind::Nonepath_loader(): creates a callback function which can be passed toEnvironment:set_loader()to load templates from the filesystem.type(): a function to return types for minijinja-lua objects.