Skip to main content

luaur_compiler/records/
table_shape.rs

1#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Default)]
2pub struct TableShape {
3    pub(crate) array_size: core::ffi::c_uint,
4    pub(crate) hash_size: core::ffi::c_uint,
5}
6
7impl luaur_common::records::dense_hash_table::DenseDefault for TableShape {
8    fn dense_default() -> Self {
9        Self::default()
10    }
11}