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

Class PrimaryMap

src/entity/primary_map.rs:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#[derive(Clone, Hash, PartialEq, Eq)]
21#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
22pub struct PrimaryMap<K, V>
23where
24 K: EntityRef,
25{
26 elems: Vec<V>,
27 marker: PhantomData<K>,
28}
29
30impl<K, V> PrimaryMap<K, V>
31where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected