Module gluon_vm::gc

source ·

Structs

A mark and sweep garbage collector.
A pointer to a garbage collected value.
DataDef that moves its value directly into the pointer useful for sized types
Pointer type which can only be written to.

Traits

A definition of some data which may be allocated by the garbage collector.
Trait which creates a typed pointer from a *mut () pointer. For Sized types this is just a cast but for unsized types some more metadata must be taken from the provided D value to make it initialize correctly.
Trait which must be implemented on all root types which contain GcPtr A type implementing Traverseable must call traverse on each of its fields which in turn contains GcPtr