-
Is there a way to accept userdata struct arguments from Lua without cloning (i.e taking a mutable reference)? |
Beta Was this translation helpful? Give feedback.
Answered by
khvzak
Apr 18, 2024
Replies: 2 comments
-
Try |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rfl890
-
Thanks for the answer! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try
AnyUserData
and then callborrow
orborrow_mut
method.