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 documentation.
Variants§
Trait Implementations§
source§impl PartialEq for GCMode
impl PartialEq for GCMode
impl Copy for GCMode
impl Eq for GCMode
impl StructuralPartialEq for GCMode
Auto Trait Implementations§
impl Freeze for GCMode
impl RefUnwindSafe for GCMode
impl Send for GCMode
impl Sync for GCMode
impl Unpin for GCMode
impl UnwindSafe for GCMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more