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

Method values

cranelift/entity/src/sparse.rs:197–199  ·  view source on GitHub ↗

Get an iterator over the values in the map. The iteration order is entirely determined by the preceding sequence of `insert` and `remove` operations. In particular, if no elements were removed, this is the insertion order.

(&self)

Source from the content-addressed store, hash-verified

195 /// `remove` operations. In particular, if no elements were removed, this is the insertion
196 /// order.
197 pub fn values(&self) -> slice::Iter<'_, V> {
198 self.dense.iter()
199 }
200
201 /// Get the values as a slice.
202 pub fn as_slice(&self) -> &[V] {

Callers 2

fmtMethod · 0.45
into_iterMethod · 0.45

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected