Struct comet::gcref::WeakSlot[][src]

pub struct WeakSlot { /* fields omitted */ }

Trait Implementations

If true finalizer is executed at the end of GC cycle for this type. In most cases compiler should be smart enough to determine if NON_TRIVIAL_DTOR is true but in some rare unsafe cases you might set it to false by yourself. Read more

Finalization callback executed by GC at the end of GC cycle. It defaults to FinalizeTrait::finalize.

Callback that is executed at the end of GC cycle. It invokes T::drop by default.

Function invoking the tracing for an object of type T. Read more

trace_ method is used for C FFI safety.

Returns trace descriptor for type that implements this trait. Not recommended to override it.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Returns index of GCInfo in GCInfoTable.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.