use enumset::{EnumSetType, EnumSet}; #[derive(EnumSetType, Debug)] pub enum DamageKind { NormalAttack, ChargedAttack, PlungeAttack, ElementalSkill, ElementalBurst, Status, Summon, Reaction, NoBoost, } pub type DamageType = EnumSet<DamageKind>;