Skip to main content

luaur_compiler/enums/
table_constant_kind.rs

1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
3pub enum TableConstantKind {
4    ConstantTable,
5    ConstantOther,
6    NotConstant,
7}
8
9impl Default for TableConstantKind {
10    fn default() -> Self {
11        Self::ConstantTable
12    }
13}
14
15impl luaur_common::records::dense_hash_table::DenseDefault for TableConstantKind {
16    fn dense_default() -> Self {
17        Self::default()
18    }
19}