Skip to main content

MODULE

Constant MODULE 

Source
pub const MODULE: &str = "M";
Expand description

The local the generated chunk builds and returns.

One letter, and the same in every generated file. A Lua module is whatever its chunk returns (Lua 5.4 reference §6.3, require), so the name is local to the file and never seen by a consumer — which is why it can be short without being cryptic.