diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 | ||||
-rw-r--r-- | src/prelude.rs | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -112,7 +112,9 @@ pub use crate::string::String; pub use crate::table::{Table, TableExt, TablePairs, TableSequence}; pub use crate::thread::{Thread, ThreadStatus}; pub use crate::types::{Integer, LightUserData, Number, RegistryKey}; -pub use crate::userdata::{AnyUserData, MetaMethod, UserData, UserDataFields, UserDataMethods}; +pub use crate::userdata::{ + AnyUserData, MetaMethod, UserData, UserDataFields, UserDataMetatable, UserDataMethods, +}; pub use crate::value::{FromLua, FromLuaMulti, MultiValue, Nil, ToLua, ToLuaMulti, Value}; #[cfg(feature = "async")] diff --git a/src/prelude.rs b/src/prelude.rs index 5ec7f3e..86c247f 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -9,6 +9,7 @@ pub use crate::{ Result as LuaResult, String as LuaString, Table as LuaTable, TableExt as LuaTableExt, TablePairs as LuaTablePairs, TableSequence as LuaTableSequence, Thread as LuaThread, ThreadStatus as LuaThreadStatus, ToLua, ToLuaMulti, UserData as LuaUserData, + UserDataFields as LuaUserDataFields, UserDataMetatable as LuaUserDataMetatable, UserDataMethods as LuaUserDataMethods, Value as LuaValue, }; |