Skip to main content

wowlab_engine_domain/rotation/buffer/
dense.rs

1//! Dense runtime buffer storage, offsets, accessors, dumps, and iteration.
2
3mod accessors;
4mod dump;
5mod iter;
6mod offsets;
7
8#[cfg(test)]
9use bytemuck::Pod;
10#[cfg(test)]
11use wowlab_types::{
12    combat::ResourceType,
13    sim::{AuraKey, AuraOn, AuraProjectionKey, FastMap, IntMap, SpellIdx},
14};
15
16#[cfg(test)]
17use super::{
18    AuraSlot, ByteOffset, CombatSlot, CooldownSlot, EquipmentSlot, HeroTreeSlot, HistorySlot,
19    ItemSlot, PetSlot, PlayerSlot, ResourceSlot, SetBonusSlot, SpellSlot, SwingSlot, TalentSlot,
20    UnitSlot,
21};
22
23#[rustfmt::skip]
24pub use accessors::DenseBuffer;
25#[rustfmt::skip]
26pub use iter::HistoryIterMut;
27
28#[rustfmt::skip]
29pub use offsets::{BufferOffsets, SlotMaps};
30
31#[cfg(test)]
32#[path = "dense/tests.rs"]
33mod tests;