MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / get

Method get

cranelift/codegen/src/scoped_hash_map.rs:28–30  ·  view source on GitHub ↗

Gets a reference to the value in the entry.

(&self)

Source from the content-addressed store, hash-verified

26impl<'a, K, V> OccupiedEntry<'a, K, V> {
27 /// Gets a reference to the value in the entry.
28 pub fn get(&self) -> &V {
29 &self.entry.get().value
30 }
31}
32
33/// A view into a vacant entry in a `ScopedHashMap`. It is part of the `Entry` enum.

Callers 1

entry_with_depthMethod · 0.45

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected