pub(crate) fn spell_idx(spell_id: u32) -> TokenStream
Emit a typed spell-index constructor for a raw spell ID.