DoxigAlpha

capacity

Return the number of elements that can be added to the queue before more memory is allocated.

Function parameters

Parameters

#

Priority queue for storing generic data.

Functions

#
PriorityQueue
Priority queue for storing generic data.

Source

Implementation

#
pub fn capacity(self: Self) usize {
    return self.cap;
}