mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 22:01:47 +03:00
4161e67f60
I've been holding off from using UserData wrappers around things because it is awkward to match them up with the To/FromDynamic conversion. This commit aims to help with that by implicitly calling the tostring metamethod (if present) on a userdata both when printing (so the values look reasonable in the repl) and when mapping a lua value to a dynamic value. Provided that the end type is try_from=String this will allow the userdata value to be assigned as table value. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |