#[repr(C)]pub enum lua_Type {
LUA_TNONE = -1,
LUA_TNIL = 0,
LUA_TBOOLEAN = 1,
LUA_TLIGHTUSERDATA = 2,
LUA_TNUMBER = 3,
LUA_TVECTOR = 4,
LUA_TSTRING = 5,
LUA_TTABLE = 6,
LUA_TFUNCTION = 7,
LUA_TUSERDATA = 8,
LUA_TTHREAD = 9,
LUA_TBUFFER = 10,
}Expand description
The different types of Luau values.
This is returned by lua_type and is taken as an argument by
lua_typename and luaL_checktype.
Variants§
LUA_TNONE = -1
LUA_TNIL = 0
LUA_TBOOLEAN = 1
LUA_TLIGHTUSERDATA = 2
LUA_TNUMBER = 3
LUA_TVECTOR = 4
LUA_TSTRING = 5
LUA_TTABLE = 6
LUA_TFUNCTION = 7
LUA_TUSERDATA = 8
LUA_TTHREAD = 9
LUA_TBUFFER = 10
Trait Implementations§
impl Copy for lua_Type
impl Eq for lua_Type
impl StructuralPartialEq for lua_Type
Auto Trait Implementations§
impl Freeze for lua_Type
impl RefUnwindSafe for lua_Type
impl Send for lua_Type
impl Sync for lua_Type
impl Unpin for lua_Type
impl UnwindSafe for lua_Type
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