luaur_code_gen/records/
numbered_instruction.rs1#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
2#[repr(C)]
3pub struct NumberedInstruction {
4 pub inst_idx: u32,
5 pub start_pos: u32,
6 pub finish_pos: u32,
7}
8
9impl Default for NumberedInstruction {
10 fn default() -> Self {
11 Self {
12 inst_idx: 0,
13 start_pos: 0,
14 finish_pos: 0,
15 }
16 }
17}
18
19#[allow(non_upper_case_globals)]
20impl NumberedInstruction {
21 pub const instIdx: u32 = 0;
22 pub const startPos: u32 = 0;
23 pub const finishPos: u32 = 0;
24}