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

Method key

src/entity/sparse.rs:423–428  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

421 match *self {
422 Entry::Occupied(ref entry) => entry.key(),
423 Entry::Vacant(ref entry) => entry.key(),
424 }
425 }
426
427 /// Modifies the entry if it is occupied.
428 #[inline]
429 pub fn and_modify<F>(mut self, f: F) -> Self
430 where
431 F: FnOnce(&mut V),

Callers 1

fmtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected