pub fn allocate<T>(&mut self, data: T) -> GcRaw<T> {
      let gcmem = GcMem::allocate(data, drop_finalizer::<T>);
      self.register(gcmem);
      gcmem
   }
/// Allocates a new `GcRaw<T>` managed by this GC.
Allocates a new `GcRaw` managed by this GC.
Allocates a new ` GcRaw ` managed by this GC .
pub fn allocate<T>(&mut self, data: T) -> GcRaw<T> {
      let gcmem = GcMem::allocate(data, drop_finalizer::<T>);
      self.register(gcmem);
      gcmem
   }
pub fn allocate < T > ( & mut self , data : T ) -> GcRaw < T > { let gcmem = GcMem :: allocate ( data , drop_finalizer :: < T > ) ; self . register ( gcmem ) ; gcmem }
Allocates a new `GcRaw<T>` managed by this GC.
Allocates a new ` GcRaw<T > ` managed by this GC .
&mut self
data
T