pub enum GcOption {
Stop = 0,
Restart = 1,
Collect = 2,
Count = 3,
CountBytes = 4,
Step = 5,
SetPause = 6,
SetStepMul = 7,
IsRunning = 9,
}
Expand description
Options for the Lua garbage collector.
Variants§
Stop = 0
Restart = 1
Collect = 2
Count = 3
CountBytes = 4
Step = 5
SetPause = 6
SetStepMul = 7
IsRunning = 9
Trait Implementations§
impl Copy for GcOption
impl Eq for GcOption
impl StructuralPartialEq for GcOption
Auto Trait Implementations§
impl Freeze for GcOption
impl RefUnwindSafe for GcOption
impl Send for GcOption
impl Sync for GcOption
impl Unpin for GcOption
impl UnwindSafe for GcOption
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