Struct zerogc_context::handle::GcHandleList[][src]

pub struct GcHandleList<C: RawHandleImpl> { /* fields omitted */ }
Expand description

Concurrent list of GcHandles

Each bucket in the linked list is twice the size of the previous one, ensuring amortized growth

The list can not be appended to while a collection is in progress.

TODO: This list only grows. It never shrinks!!

Implementations

Trace the GcHandle using the specified closure.

Safety

Assumes the visitor function is well behaved.

TODO: Can the ‘unsafe’ be removed? I think we were only using it for ‘trace_inner’ because it assumes the fences were already applied. Now that’s behind a layer of abstraction, the unsafety has technically been moved to the caller.

Trait Implementations

Executes the destructor for this type. Read more

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.

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.