require

Function require 

Source
pub fn require<'a, T: FromLua<'a> + Clone>(
    lua: &'a Lua,
    name: &'a str,
) -> LuaResult<T>
Expand description

Gets the global require function and calls it with the given name as an argument