[−][src]Trait zerogc_context::collector::SingletonCollector
A collector implemented as a singleton
This only has one instance
Required methods
pub fn global_ptr() -> *const Self
[src]
When the collector is a singleton, return the global implementation
pub fn init_global(logger: Logger)
[src]
Initialize the global singleton
Panics if already initialized