Closed n0b0dyCN closed 1 year ago
Reference parameters are not supported.
https://rhai.rs/book/rust/methods.html#admonition-no-support-for-references
Reference parameters are not supported.
https://rhai.rs/book/rust/methods.html#admonition-no-support-for-references
When reading the document, I thought only class methods have this constraint. Thanks for your explain.
main.rs
Got error:
Is there anything wrong when registering the function?