Trait jrsonnet_gc::Trace[][src]

pub unsafe trait Trace: Finalize {
    unsafe fn trace(&self);
unsafe fn root(&self);
unsafe fn unroot(&self);
fn finalize_glue(&self); }
Expand description

The Trace trait, which needs to be implemented on garbage-collected objects.

Required methods

Marks all contained Gcs.

Increments the root-count of all contained Gcs.

Decrements the root-count of all contained Gcs.

Runs Finalize::finalize() on this object and all contained subobjects

Implementations on Foreign Types

Implementors