Alex Orlenko
|
6e7d6c78ed
|
mlua_derive: Group functionality in modules
Create new `chunk`, `userdata`, `module` modules.
|
2026-05-26 23:23:09 +01:00 |
|
Alex Orlenko
|
1573dd1242
|
Add #[mlua::userdata] and #[mlua::userdata_impl] macros
|
2026-05-26 23:23:09 +01:00 |
|
Alex Orlenko
|
fb0c0d9ee9
|
Add Either<L, R> enum to combine two types into a single one.
It implements `FromLua` and `IntoLua` traits for easy type conversions..
|
2024-09-26 18:58:28 +01:00 |
|
Alex Orlenko
|
b4892c228c
|
Add rustfmt.toml
|
2024-07-31 13:42:37 +01:00 |
|
Alex Orlenko
|
7221051683
|
Refactor:
- Remove the rest of `'lua` lifetimes
- Remove Owned types
|
2024-07-31 13:42:35 +01:00 |
|
Alex Orlenko
|
145c5b316b
|
Fix FromLua derive proc macro to cover more cases
|
2024-01-25 10:26:43 +00:00 |
|
Alex Orlenko
|
0e030d21b0
|
Add #[derive(FromLua)] macro to opt-in into FromLua<T> where T: 'static + Clone (userdata type).
Future macro implementations will allow making T from Lua tables/other values.
Relates to #291.
|
2023-07-16 01:57:28 +01:00 |
|