pub enum PropertyKindFilter {
Damage,
Ability,
Save,
Attack,
Enhancement,
UseLimitation,
Active,
}Expand description
Categorical filter for UtiSnapshot::has_property_kind.
Each variant maps to a family of typed DecodedProperty
variants that share a semantic theme (damage modification,
wielder restriction, active-use, etc.). The filters are not
exclusive: DamageImmunity and DamageResistance count under
PropertyKindFilter::Damage, so an item with one or the other
matches the Damage filter.
Property kinds that do not naturally cluster with a family
(OnHit, Light, BonusFeats, Skill, Immunity,
Regeneration*, Disguise, MagicResistBonus, Keen,
MassiveCriticals, BlasterBoltDeflectIncrease,
MonsterDamage, DamageNone, TrueSeeing) are not surfaced by
any filter; callers needing them pattern-match the typed
variants directly via UtiSnapshot::properties.
Variants§
Damage
Any damage-family property: DamageBonus, DamageImmunity,
DamageResistance, DamageRacialGroup,
DamageAlignmentGroup, or DamagePenalty.
Ability
Ability-score bonus (AbilityBonus).
Save
Saving-throw bonus or penalty, universal or specific:
SaveBonus, SaveBonusSpecific, SavePenalty,
SavePenaltySpecific.
Attack
Attack bonus or penalty: AttackBonus,
AttackBonusAlignmentGroup, AttackPenalty.
Enhancement
Enhancement bonus, flat or conditional: EnhancementBonus,
EnhancementRacialGroup, EnhancementAlignmentGroup.
UseLimitation
Wielder-restriction property: UseLimitationFeat,
UseLimitationRacial, UseLimitationAlignmentGroup.
Active
Engine-active property routed into the per-character
usable-ability table: CastSpell, Trap, ThievesTools,
ComputerSpike.
Trait Implementations§
Source§impl Clone for PropertyKindFilter
impl Clone for PropertyKindFilter
Source§fn clone(&self) -> PropertyKindFilter
fn clone(&self) -> PropertyKindFilter
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more