Skip to main content

luaur_analysis/enums/
variant.rs

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