MCPcopy Index your code
hub / github.com/douchuan/algorithm / dequeue

Method dequeue

src/common/queue.rs:25–27  ·  view source on GitHub ↗

Removes and returns the item on this queue that was least recently added

(&mut self)

Source from the content-addressed store, hash-verified

23
24 /// Removes and returns the item on this queue that was least recently added
25 pub fn dequeue(&mut self) -> Option<T> {
26 self.ll.pop_front()
27 }
28
29 /// Returns the item least recently added to this queue
30 pub fn peek(&self) -> Option<&T> {

Callers 10

insertMethod · 0.45
into_vecMethod · 0.45
primMethod · 0.45
primMethod · 0.45
newMethod · 0.45
newMethod · 0.45
bfsMethod · 0.45
queueFunction · 0.45
index_min_pqFunction · 0.45
index_max_pqFunction · 0.45

Calls 1

pop_frontMethod · 0.80

Tested by 3

queueFunction · 0.36
index_min_pqFunction · 0.36
index_max_pqFunction · 0.36