hlua
hlua copied to clipboard
Is there a way to call a Lua function with a HashMap without cloning it?
Assuming you have e.g. a HashMap<&'static str, String>, it seems like it should be possible to translate this HashMap into a table and call a Lua function with it as the argument, all without cloning the HashMap. (I might be completely misunderstanding here, of course.)
Is there a way to do that?