#[repr(u8)]pub enum LuaType {
kTypeNil = 0,
kTypeBool = 1,
kTypeInt = 2,
kTypeFloat = 3,
kTypeString = 4,
kTypeTable = 5,
kTypeFunction = 6,
kTypeThread = 7,
kTypeObject = 8,
}Variants§
kTypeNil = 0
kTypeBool = 1
kTypeInt = 2
kTypeFloat = 3
kTypeString = 4
kTypeTable = 5
kTypeFunction = 6
kTypeThread = 7
kTypeObject = 8
Trait Implementations§
Source§impl Ord for LuaType
impl Ord for LuaType
Source§impl PartialOrd for LuaType
impl PartialOrd for LuaType
impl Copy for LuaType
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 UnwindSafe for LuaType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
kTypeNil: 0 byteskTypeBool: 0 byteskTypeInt: 0 byteskTypeFloat: 0 byteskTypeString: 0 byteskTypeTable: 0 byteskTypeFunction: 0 byteskTypeThread: 0 byteskTypeObject: 0 bytes