MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / len

Method len

src/entity/compact_list.rs:55–57  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

53 /// Get the number of elements in the list.
54 #[must_use]
55 pub fn len(&self) -> usize {
56 (self.end - self.start) as usize
57 }
58
59 /// Get the list as a slice.
60 #[must_use]

Callers 3

from_iterMethod · 0.45
insert_iter_atMethod · 0.45
swap_removeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected