pub struct EpsilonRawVec<'gc, T> { /* private fields */ }
Expand description

The raw representation of a vector in the “epsilon” collector

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Extends a collection with the contents of an iterator. Read more

🔬 This is a nightly-only experimental API. (extend_one)

Extends a collection with exactly one element.

🔬 This is a nightly-only experimental API. (extend_one)

Reserves capacity in a collection for the given number of additional elements. Read more

Steal ownership of this vector, converting it into a [GcArray]. Read more

Iterate over the elements of the vectors Read more

This type with all garbage collected lifetimes changed to 'new_gc Read more

Trace this object behind a Gc pointer. Read more

The id of the collector

Allocate a new vector with the specified capacity, using the specified context. Read more

The length of the vector. Read more

Set the length of the vector. Read more

The total amount of space that is available without needing reallocation. Read more

Attempt to reallocate the vector in-place, without moving the underlying pointer. Read more

Get a pointer to this vector’s underling data. Read more

Get the GcContext that this vector is associated with. Read more

Copy the specified elements into a new vector, allocating it in the specified context Read more

Copy the specified elements into a new vector, allocating it in the specified context Read more

Allocate a new vector inside the specified context

Check if this vector is empty

Reserves capacity for at least additional. Read more

Push the specified element onto the end of this vector. Read more

Pop an element of the end of the vector, returning None if empty. Read more

Removes an element from the vector and returns it. Read more

Extend the vector with elements copied from the specified slice

Get the item at the specified index, or None if it is out of bounds. Read more

Set the item at the specified index Read more

Replace the item at the specified index, returning the old value. Read more

Get a mutable pointer to the vector’s underlying data. Read more

Get a slice of this vector’s elements. Read more

Whether this type needs to be traced by the garbage collector. Read more

If this type needs a destructor run. Read more

Trace each field in 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.