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

Method prev

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

Source from the content-addressed store, hash-verified

338 }
339
340 fn prev(
341 &mut self,
342 root: &PackedOption<Node>,
343 pool: &NodePool<MapTypes<K, V>>,
344 ) -> Option<(K, V)> {
345 root.expand().and_then(|root| self.path.prev(root, pool))
346 }
347
348 fn key(&self, pool: &NodePool<MapTypes<K, V>>) -> Option<K> {
349 self.path

Callers 3

get_or_lessMethod · 0.45
next_backMethod · 0.45
immutable_cursorFunction · 0.45

Calls 1

expandMethod · 0.45

Tested by 1

immutable_cursorFunction · 0.36