Function gc_arena::arena::rootless_arena

source ·
pub fn rootless_arena<F, R>(f: F) -> R
where F: for<'gc> FnOnce(&'gc Mutation<'gc>) -> R,
Expand description

Create a temporary arena without a root object and perform the given operation on it. No garbage collection will be done until the very end of the call, at which point all allocations will be collected.