use enum_map::Enum; use enumset::EnumSetType; #[derive(Enum, EnumSetType, Debug)] pub enum EventSpeed { Fast, Combat, } #[derive(Enum, EnumSetType, Debug)] pub enum EventType { Normal, ElementalSkill1, ElementalSkill2, ElementalBurst, Swap, }