DoxigAlpha

allocatedSlice

Returns a slice of all the items plus the extra capacity, whose memory contents are undefined.

Function parameters

Parameters

#

Deprecated.

Functions

#
Managed
Deprecated.
AlignedManaged
Deprecated.
Aligned
A contiguous, growable list of arbitrarily aligned items in memory.

Source

Implementation

#
pub fn allocatedSlice(self: Self) Slice {
    return self.items.ptr[0..self.capacity];
}