Expand description
Canonical data contracts shared by WoW Lab’s Rust crates and browser boundary.
use wowlab_types::sim::{SimTime, SpellIdx};
let spell = SpellIdx::from_raw(17);
let timestamp = SimTime::from_millis(1_500);
assert_eq!(spell.as_u32(), 17);
assert_eq!(timestamp.as_millis(), 1_500);Modules§
- colors
- combat
- constants
- Shared numeric constants used across the workspace.
- copy
- Postgres
COPY ... FROM STDINtext-format serialization. - data
- game
- numeric
- Explicit numeric operations and conversions shared across crate boundaries.
- proto
- Protobuf-generated types for binary result encoding.
- sensitive
- sim
- spell_
desc - spell_
render - stats
- Statistics: streaming (Welford) and batch algorithms.
- table_
registry - Canonical game-data table identities and exposure metadata.
- wasm
Macros§
- wasm_
error - Define a WASM error enum with
Display,From<Self>forJsValue, andFrom<serde_wasm_bindgen::Error>.