Function zerogc::dummy_impl::gc[][src]

pub fn gc<'gc, T: GcSafe + 'static>(ptr: &'static T) -> Gc<'gc, T>

Fake a Gc that points to the specified value

This will never actually be collected and will always be valid