Type Alias AttrMap

Source
pub type AttrMap = BTreeMap<String, f64>;
Expand description

Ordered attribute accumulator used by power_from_attrs / character_power.

only ever does keyed reads (get_attr on fixed attribute names) — it never iterates the map — so the only behaviour that must be preserved is the per-key float accumulation order. We accumulate in source order (*entry += value), which is byte-identical to the old Dynamic::from_float(cur + value) insert. A BTreeMap<String, f64> routes

Aliased Type§

struct AttrMap { /* private fields */ }