Enum mlua::GCMode [−][src]
pub enum GCMode {
Incremental,
Generational,
}
Expand description
Mode of the Lua garbage collector (GC).
In Lua 5.4 GC can work in two modes: incremental and generational. Previous Lua versions support only incremental GC.
More information can be found in the Lua 5.x documentation.
Variants
This is supported on crate feature
lua54
or doc
only.Requires feature = "lua54"
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GCMode
impl UnwindSafe for GCMode
Blanket Implementations
Mutably borrows from an owned value. Read more