Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runes std::collections::HashMap is not accessible from rust extension types #753

Open
VorpalBlade opened this issue Jul 20, 2024 · 0 comments

Comments

@VorpalBlade
Copy link
Contributor

I want to add a extension function that takes a mapping. So I thought it should take the HashMap from Rune's standard library. Unfortunately that is pub(crate) on the Rust side. What is the best way to do this?

This could either turn into a feature request or a help request (if there is a way to do this and I missed it). I need random access (lookup based on key) into this collection passed by the rune script. I would prefer to not needlessly copy it.

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

No branches or pull requests

1 participant