Closed namse closed 8 months ago
I guess FrozenIndexMap's value type needs to be StableDeref, Is not stable to deref for usize?
StableDeref
No, it must be allocated. This is what gives the map the frozen property.
A thing we could potentially do is also support FrozenIndexMap for Copy types where it doesn't return references.
Copy
I guess FrozenIndexMap's value type needs to be
StableDeref
, Is not stable to deref for usize?