Skip to main content

luaur_code_gen/enums/
size_x_64.rs

1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
3#[repr(u8)]
4pub enum SizeX64 {
5    none,
6    byte,
7    word,
8    dword,
9    qword,
10    xmmword,
11    ymmword,
12}
13
14#[allow(non_upper_case_globals)]
15impl SizeX64 {
16    pub const none: Self = Self::none;
17    pub const byte: Self = Self::byte;
18    pub const word: Self = Self::word;
19    pub const dword: Self = Self::dword;
20    pub const qword: Self = Self::qword;
21    pub const xmmword: Self = Self::xmmword;
22    pub const ymmword: Self = Self::ymmword;
23}