pub enum GcTask {
Stop = 0,
Restart = 1,
Collect = 2,
CountKbytes = 3,
CountBytesRem = 4,
Step = 5,
IsRunning = 6,
ToIncremental = 7,
ToGenerational = 8,
}Expand description
Tasks for lua_gc.
This enum does not include the arguments associated with a GC task. See the manual for more information on the arguments: https://www.lua.org/manual/5.4/manual.html#lua_gc
Variants§
Stop = 0
Restart = 1
Collect = 2
CountKbytes = 3
CountBytesRem = 4
Step = 5
IsRunning = 6
ToIncremental = 7
ToGenerational = 8
Implementations§
Trait Implementations§
Source§impl Ord for GcTask
impl Ord for GcTask
Source§impl PartialOrd for GcTask
impl PartialOrd for GcTask
impl Copy for GcTask
impl Eq for GcTask
impl StructuralPartialEq for GcTask
Auto Trait Implementations§
impl Freeze for GcTask
impl RefUnwindSafe for GcTask
impl Send for GcTask
impl Sync for GcTask
impl Unpin for GcTask
impl UnwindSafe for GcTask
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