How to write a Rust UserData method that takes a Lua file argument? #685
drauschenbach
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For my UserData, I'd like to write a method that takes a Lua file argument. For example, I want to be able to call my function with arguments like this:
or:
Is there any guidance in the code on how to work with Lua files on the Rust side of things?
I have this skeleton in place:
Beta Was this translation helpful? Give feedback.
All reactions