DoxigAlpha

remove

Remove and return the highest priority element from the queue.

Function parameters

Parameters

#
self:*Self

Priority queue for storing generic data.

Functions

#
PriorityQueue
Priority queue for storing generic data.

Source

Implementation

#
pub fn remove(self: *Self) T {
    return self.removeIndex(0);
}