pub enum GcArgs {
Stop,
Restart,
Collect,
Count,
CountB,
Step {
data: i32,
},
SetPause {
value: i32,
},
SetStepMul {
value: i32,
},
IsRunning,
Gen {
minormul: i32,
majormul: i32,
},
Inc {
pause: i32,
stepmul: i32,
stepsize: i32,
},
Param {
param: usize,
value: i64,
},
}Variants§
Stop
Restart
Collect
Count
CountB
Step
SetPause
SetStepMul
IsRunning
Gen
Inc
Param
Lua 5.5 collectgarbage("param", name [, value]). param is the
0-based param index; value < 0 means “read only”.
Auto Trait Implementations§
impl Freeze for GcArgs
impl RefUnwindSafe for GcArgs
impl Send for GcArgs
impl Sync for GcArgs
impl Unpin for GcArgs
impl UnsafeUnpin for GcArgs
impl UnwindSafe for GcArgs
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