luaur_bytecode/enums/
type.rs1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
3#[repr(i32)]
4pub enum Type {
5 Type_Nil,
6 Type_Boolean,
7 Type_Number,
8 Type_Integer,
9 Type_Vector,
10 Type_String,
11 Type_Import,
12 Type_Table,
13 Type_Closure,
14 Type_ClassShape,
15}
16
17impl Type {
18 pub const Type_Nil: Type = Type::Type_Nil;
19 pub const Type_Boolean: Type = Type::Type_Boolean;
20 pub const Type_Number: Type = Type::Type_Number;
21 pub const Type_Integer: Type = Type::Type_Integer;
22 pub const Type_Vector: Type = Type::Type_Vector;
23 pub const Type_String: Type = Type::Type_String;
24 pub const Type_Import: Type = Type::Type_Import;
25 pub const Type_Table: Type = Type::Type_Table;
26 pub const Type_Closure: Type = Type::Type_Closure;
27 pub const Type_ClassShape: Type = Type::Type_ClassShape;
28}