Skip to main content

luaur_vm/records/
lua_node.rs

1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy)]
3#[repr(C)]
4pub struct LuaNode {
5    pub val: crate::records::lua_t_value::TValue,
6    pub key: crate::records::t_key::TKey,
7}
8
9impl Default for LuaNode {
10    fn default() -> Self {
11        Self {
12            val: crate::records::lua_t_value::TValue::default(),
13            key: crate::records::t_key::TKey::default(),
14        }
15    }
16}
17
18#[allow(non_camel_case_types)]
19pub type lua_node = LuaNode;