Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

map Arena to new element type while keeping indices the same #48

Open
bollian opened this issue Aug 10, 2021 · 0 comments
Open

map Arena to new element type while keeping indices the same #48

bollian opened this issue Aug 10, 2021 · 0 comments

Comments

@bollian
Copy link

bollian commented Aug 10, 2021

I want to be able to clone arena so that it has all the same indices (generation and actual index), but with different elements. Something like https://docs.rs/petgraph/0.6.0/petgraph/stable_graph/struct.StableGraph.html#method.map. Is there a way of doing this currently?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant