summaryrefslogtreecommitdiff
path: root/src/userdata.rs
AgeCommit message (Expand)Author
2023-06-15Update `UserDataMethods::add_async_method()` functions to take `&T` as second...Alex Orlenko
2023-06-07Add `UserDataFields::add_field()` method to add static fields to UserData.Alex Orlenko
2023-05-28Include (known) userdata type to Value debug pretty-printAlex Orlenko
2023-05-27clippyAlex Orlenko
2023-05-03Add `OwnedAnyUserData::take()`Alex Orlenko
2023-04-26Various improvements for owned types, including:Alex Orlenko
2023-04-14Missing doc for OwnedAnyUserDataAlex Orlenko
2023-04-14Fix feature flags for owned typesAlex Orlenko
2023-04-14Remove usage of crate::ffi (clippy)Alex Orlenko
2023-03-30Revert "Rename `Owned*::to_ref()` to `as_ref()`"Alex Orlenko
2023-03-02Rename `Owned*::to_ref()` to `as_ref()`Alex Orlenko
2023-02-26Add `UserDataRef` and `UserDataRefMut` types that implement `FromLua`Alex Orlenko
2023-02-12Add create_userdata_ref/create_userdata_ref_mut for scope (#206)Alex Orlenko
2023-02-03Allow registering and creating custom userdata types that don't necessary imp...Alex Orlenko
2023-01-06Allow deserializing values from serializable UserData using `Lua::from_value(...Alex Orlenko
2022-12-24Refactor `userdata::MetaMethod`.Alex Orlenko
2022-12-19Rename ToLua/ToLuaMulti -> IntoLua/IntoLuaMultiAlex Orlenko
2022-12-19Add "unstable" feature flag.Alex Orlenko
2022-12-19Refactor LuaInner stateAlex Orlenko
2022-12-18Replace `impl AsRef<str>` with simple `&str`Alex Orlenko
2022-12-18Use `impl AsRef<str>` for userdata methods/fields instead of generic param.Alex Orlenko
2022-12-18Do not clear usevalues when taking value out of userdata.Alex Orlenko
2022-12-18Initial implementation of owned Lua typesAlex Orlenko
2022-05-09Add Iter metamethod for Luau (available from 0.526)Alex Orlenko
2022-04-08(minor) Fix capturing variables in protect_lua closuresAlex Orlenko
2022-03-25Update docsAlex Orlenko
2022-03-20Initial Luau supportAlex Orlenko
2021-11-25Update docsAlex Orlenko
2021-11-21Add `get_named_user_value` and `set_named_user_value` to `AnyUserData`Alex Orlenko
2021-11-08Add `set_nth_user_value` and `get_nth_user_value` to `AnyUserData`Alex Orlenko
2021-11-04Publish `AnyUserData::take`Alex Orlenko
2021-11-04Add luajit52 support (LuaJIT with partial compatibility with Lua 5.2)Alex Orlenko
2021-11-04Add async meta methods for all Lua except 51Alex Orlenko
2021-10-12Update documentation referencesAlex Orlenko
2021-10-05Add (hidden) method `UserData::take()` to take out value from userdataAlex Orlenko
2021-09-28Refactor UserData metatables handlingAlex Orlenko
2021-09-28Add inline attributes to few hot funcsAlex Orlenko
2021-08-04Update documentation about `FromLua` for UserData. Closes #64Alex Orlenko
2021-07-13Replace custom `UserDataRef(Mut)` with standard `Ref`(Mut)Alex Orlenko
2021-07-11UserData improvements:Alex Orlenko
2021-06-16Revert commit ced808d5abAlex Orlenko
2021-06-03Remove `T: Clone` requirement from `add_async_function`Alex Orlenko
2021-06-03Add `__ipairs` metamethod (again) for Lua 5.2 onlyAlex Orlenko
2021-06-03Implement `UserData` for Rc<RefCell>/Arc<Mutex>/Arc<RwLock> wrappersAlex Orlenko
2021-05-10Fix spellingAlex Orlenko
2021-05-05Add `Thread::reset()` for luajit/lua54Alex Orlenko
2021-05-04Remove deprecated `AnyUserData::has_metamethod()`Alex Orlenko
2021-05-02Stack assertions reviewAlex Orlenko
2021-04-27Refactor UserDataCellAlex Orlenko
2021-04-27More testsAlex Orlenko