Enum factorio_mlua::GCMode
source · pub enum GCMode {
Incremental,
}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§
Incremental
Trait Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)