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

Method extend

cranelift/entity/src/set.rs:46–50  ·  view source on GitHub ↗
(&mut self, iter: T)

Source from the content-addressed store, hash-verified

44
45impl<K: EntityRef> Extend<K> for EntitySet<K> {
46 fn extend<T: IntoIterator<Item = K>>(&mut self, iter: T) {
47 for k in iter {
48 self.insert(k);
49 }
50 }
51}
52
53/// Shared `EntitySet` implementation for all value types.

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected