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 /// Gets the entry's key.
422 #[inline]
423 pub fn key(&self) -> K {
424 match *self {
425 Entry::Occupied(ref entry) => entry.key(),
426 Entry::Vacant(ref entry) => entry.key(),
427 }
428 }
429
430 /// Modifies the entry if it is occupied.
431 #[inline]

Callers 1

fmtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected