Skip to main content

luaur_analysis/enums/
type_field.rs

1#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
2#[repr(i32)]
3pub enum TypeField {
4    /// The table of a metatable type.
5    Table,
6    /// The metatable of a type. This could be a metatable type, a primitive
7    /// type, a class type, or perhaps even a string singleton type.
8    Metatable,
9    /// The lower bound of this type, if one is present.
10    LowerBound,
11    /// The upper bound of this type, if present.
12    UpperBound,
13    /// The index type.
14    IndexLookup,
15    /// The indexer result type.
16    IndexResult,
17    /// The negated type, for negations.
18    Negated,
19    /// The variadic type for a type pack.
20    Variadic,
21}