DoxigAlpha

capacity

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

Function parameters

Parameters

#

Priority Dequeue for storing generic data.

Functions

#
PriorityDequeue
Priority Dequeue for storing generic data.

Source

Implementation

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