pub fn dequeue(queue: &mut CommandQueue) -> Option<QueuedCommand>Expand description
Remove and return the highest-priority (lowest rank) command.
Returns None if the queue is empty.
pub fn dequeue(queue: &mut CommandQueue) -> Option<QueuedCommand>Remove and return the highest-priority (lowest rank) command.
Returns None if the queue is empty.