Trait jlrs::traits::gc::Gc [−][src]
This trait is used to enable and disable the garbage collector and to force a collection.
Provided methods
unsafe fn enable_gc(&mut self, on: bool) -> bool
[src]
Enable or disable the GC.
fn gc_is_enabled(&mut self) -> bool
[src]
Returns true
if the GC is enabled.
unsafe fn gc_collect(&mut self, mode: GcCollection)
[src]
Force a collection.