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

Method goto_first

cranelift/bforest/src/set.rs:280–282  ·  view source on GitHub ↗

Move this cursor to the first element.

(&mut self)

Source from the content-addressed store, hash-verified

278
279 /// Move this cursor to the first element.
280 pub fn goto_first(&mut self) -> Option<K> {
281 self.root.map(|root| self.path.first(root, self.pool).0)
282 }
283
284 /// Try to insert `elem` into the set and leave the cursor at the inserted element.
285 ///

Callers

nothing calls this directly

Calls 2

mapMethod · 0.45
firstMethod · 0.45

Tested by

no test coverage detected