pub struct GcFrame<'frame, M: Mode> { /* private fields */ }
Expand description

A frame that can be used to root Julia data.

Frames created with a capacity can store at least that number of roots. A frame’s capacity is at least 16.

Trait Implementations

Reserve a new reusable slot in the current frame. Read more

Returns the number of values currently rooted in this frame.

Returns the maximum number of values that can be rooted in this frame.

Reserve a new output in the current frame. Read more

Convert the frame to a scope. Read more

Create a new scope and call func with that scope’s frame. Read more

Create a new scope and call func with that scope’s frame. 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

Returns the argument unchanged.

Enable or disable the GC.

Enable or disable GC logging. Read more

Returns true if the GC is enabled.

Force a collection.

Insert a safepoint, a point where the garbage collector may run.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.