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

Method values

crates/data-structures/src/small_map.rs:160–165  ·  view source on GitHub ↗

Returns an iterator over all the values in the map.

(&self)

Source from the content-addressed store, hash-verified

158
159 /// Returns an iterator over all the values in the map.
160 pub fn values(&self) -> impl ExactSizeIterator<Item = &V> {
161 match self {
162 Self::Small(list) => Either::Left(list.iter().map(|(_, v)| v)),
163 Self::Large(map) => Either::Right(map.values()),
164 }
165 }
166
167 /// Returns whether `key` is in the map.
168 pub fn contains_key(&self, key: &K) -> bool {

Callers 15

index.tsFile · 0.45
AppFunction · 0.45
index.tsFile · 0.45
index.tsFile · 0.45
AppFunction · 0.45
index.tsFile · 0.45
startJobsFunction · 0.45
emitTypingFunction · 0.45
index.tsFile · 0.45
setupSocketHandlersFunction · 0.45
updateUnreadCountsFunction · 0.45
getLayerIdFunction · 0.45

Calls 2

iterMethod · 0.65
mapMethod · 0.45