Skip to main content

luaur_analysis/enums/
pack_field.rs

1#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
2#[allow(non_camel_case_types)]
3pub enum PackField {
4    /// What arguments this type accepts.
5    Arguments,
6    /// What this type returns when called.
7    Returns,
8    /// The tail of a type pack.
9    Tail,
10}
11
12impl PackField {
13    pub const Arguments: Self = Self::Arguments;
14    pub const Returns: Self = Self::Returns;
15    pub const Tail: Self = Self::Tail;
16}