DoxigAlpha

clearRetainingCapacity

Invalidates all element pointers.

Function parameters

Parameters

#
self:*Self

This is a stack data structure where pointers to indexes have the same lifetime as the data structure

Functions

#
SegmentedList
This is a stack data structure where pointers to indexes have the same lifetime as the data structure

Source

Implementation

#
pub fn clearRetainingCapacity(self: *Self) void {
    self.len = 0;
}