#[repr(i32)]pub enum GcWhat {
Stop = 0,
Restart = 1,
Collect = 2,
Count = 3,
CountB = 4,
Step = 5,
SetPause = 6,
SetStepMul = 7,
IsRunning = 9,
Gen = 10,
Inc = 11,
}Expand description
GC operation codes (C: LUA_GC* constants)
Variants§
Stop = 0
Restart = 1
Collect = 2
Count = 3
CountB = 4
Step = 5
SetPause = 6
SetStepMul = 7
IsRunning = 9
Gen = 10
Inc = 11
Trait Implementations§
impl Copy for GcWhat
impl Eq for GcWhat
impl StructuralPartialEq for GcWhat
Auto Trait Implementations§
impl Freeze for GcWhat
impl RefUnwindSafe for GcWhat
impl Send for GcWhat
impl Sync for GcWhat
impl Unpin for GcWhat
impl UnsafeUnpin for GcWhat
impl UnwindSafe for GcWhat
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