Skip to content

Fix/push ref function

Alexey Protsenko requested to merge fix/push-ref-function into master

requires !78 (merged)

rust Function callback can now be pushed by reference onto lua only if it is Copy, i.e. doesn't capture any non-copy types

Add #[derive(PushInto)] for custom types for cases when their fields can only be pushed by value

Edited by Alexey Protsenko

Merge request reports