MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / from_iter

Method from_iter

src/entity/primary_map.rs:298–306  ·  view source on GitHub ↗
(iter: T)

Source from the content-addressed store, hash-verified

296{
297 #[inline]
298 fn from_iter<T>(iter: T) -> Self
299 where
300 T: IntoIterator<Item = V>,
301 {
302 Self {
303 elems: Vec::from_iter(iter),
304 marker: PhantomData,
305 }
306 }
307}
308
309impl<K, V> From<Vec<V>> for PrimaryMap<K, V>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected