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

Method capacity

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

Source from the content-addressed store, hash-verified

55 #[inline]
56 #[must_use]
57 pub fn capacity(&self) -> usize {
58 self.elems.capacity()
59 }
60
61 /// Check if `k` is a valid key in the map.
62 pub fn is_valid(&self, k: K) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected