pub enum LuaType {
Nil,
Boolean,
Number(bool),
String,
Table,
Function,
Userdata,
Thread,
Custom(String),
}Expand description
Lua type representation (runtime tags + structural hints).
Variants§
Nil
nil
Boolean
boolean
Number(bool)
number — integer when is_int is true, float otherwise
String
string
Table
table
Function
function
Userdata
userdata
Thread
thread (coroutine)
Custom(String)
Named/custom type
Trait Implementations§
impl Eq for LuaType
impl StructuralPartialEq for LuaType
Auto Trait Implementations§
impl Freeze for LuaType
impl RefUnwindSafe for LuaType
impl Send for LuaType
impl Sync for LuaType
impl Unpin for LuaType
impl UnsafeUnpin for LuaType
impl UnwindSafe for LuaType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more