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

Method goto_first

cranelift/bforest/src/map.rs:382–388  ·  view source on GitHub ↗
(
        &mut self,
        root: &PackedOption<Node>,
        pool: &NodePool<MapTypes<K, V>>,
    )

Source from the content-addressed store, hash-verified

380 }
381
382 fn goto_first(
383 &mut self,
384 root: &PackedOption<Node>,
385 pool: &NodePool<MapTypes<K, V>>,
386 ) -> Option<V> {
387 root.map(|root| self.path.first(root, pool).1)
388 }
389
390 fn goto_end(&mut self) {
391 self.path = Path::default();

Callers 2

nextMethod · 0.45
immutable_cursorFunction · 0.45

Calls 2

mapMethod · 0.45
firstMethod · 0.45

Tested by 1

immutable_cursorFunction · 0.36