MCPcopy Create free account
hub / github.com/douchuan/algorithm / iter

Method iter

src/common/queue.rs:35–37  ·  view source on GitHub ↗

Returns an iterator that iterates over the items in this queue in FIFO order

(&self)

Source from the content-addressed store, hash-verified

33
34 /// Returns an iterator that iterates over the items in this queue in FIFO order
35 pub fn iter(&self) -> Iter<'_, T> {
36 self.ll.iter()
37 }
38
39 /// Returns the number of items in this queue
40 pub fn len(&self) -> usize {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected