MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / new

Method new

crates/data-structures/src/small_map.rs:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42impl<K: Eq + Hash, V, const N: usize, const M: usize> SmallHashMap<K, V, N, M> {
43 pub fn new() -> Self {
44 Self::Small(SmallVec::new())
45 }
46
47 /// Inserts the association `key -> value` into the map,
48 /// returning the previous value for `key`, if any.

Callers

nothing calls this directly

Calls 1

newFunction · 0.70

Tested by

no test coverage detected