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

Method get

cranelift/entity/src/map.rs:105–107  ·  view source on GitHub ↗
(&self, k: K)

Source from the content-addressed store, hash-verified

103 /// Get the element at `k` if it exists.
104 #[inline(always)]
105 pub fn get(&self, k: K) -> Option<&V> {
106 self.elems.get(k.index())
107 }
108
109 /// Get the element at `k` mutably, if it exists.
110 pub fn get_mut(&mut self, k: K) -> Option<&mut V> {

Callers 9

get_nameMethod · 0.45
declare_functionMethod · 0.45
declare_dataMethod · 0.45
locationMethod · 0.45
check_avx_alternatesFunction · 0.45
mutateMethod · 0.45
lookup_symbolMethod · 0.45
get_symbolMethod · 0.45
indexMethod · 0.45

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected