[−][src]Function cgc::threads::mt_alloc
pub fn mt_alloc<T: Trace + Sized + 'static>(
value: T,
finalize: bool
) -> Rooted<T>
Use this function to allocate object in GC heap.
If value needs finalization finalize
argument should be true.