Skip to main content

luaur_code_gen/enums/
alignment_data_x_64.rs

1#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
2#[allow(non_camel_case_types)]
3#[repr(i32)]
4pub enum AlignmentDataX64 {
5    Nop,
6    Int3,
7    Ud2,
8}
9
10impl Default for AlignmentDataX64 {
11    fn default() -> Self {
12        Self::Nop
13    }
14}
15
16impl AlignmentDataX64 {
17    pub const Nop: Self = Self::Nop;
18    pub const Int3: Self = Self::Int3;
19    pub const Ud2: Self = Self::Ud2;
20}