fn capacity(self: Self) usize

Returns the number of total elements which may be present before it is no longer guaranteed that no allocations will be performed.

Parameters

self: Self,