luaur_code_gen/enums/
ir_const_kind.rs1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
3#[repr(u8)]
4pub enum IrConstKind {
5 Int,
6 Int64,
7 Uint,
8 Double,
9 Tag,
10 Import,
11}
12
13#[allow(non_upper_case_globals)]
14impl IrConstKind {
15 pub const Int: Self = Self::Int;
16 pub const Int64: Self = Self::Int64;
17 pub const Uint: Self = Self::Uint;
18 pub const Double: Self = Self::Double;
19 pub const Tag: Self = Self::Tag;
20 pub const Import: Self = Self::Import;
21}