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