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

Method len

src/common/queue.rs:40–42  ·  view source on GitHub ↗

Returns the number of items in this queue

(&self)

Source from the content-addressed store, hash-verified

38
39 /// Returns the number of items in this queue
40 pub fn len(&self) -> usize {
41 self.ll.len()
42 }
43
44 /// Returns true if this queue is empty
45 pub fn is_empty(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected