DoxigAlpha

count

Return the number of elements remaining in the priority queue.

Function parameters

Parameters

#

Priority queue for storing generic data.

Functions

#
PriorityQueue
Priority queue for storing generic data.

Source

Implementation

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