fn bind_spell(
spell: SpellIdx,
spells: &[SpellData],
spell_by_id: &IntMap<u32, LocalSpellIdx>,
auras: &[AuraData],
aura_by_id: &IntMap<u32, LocalAuraIdx>,
bindings: &BufferBindings,
) -> Result<RotationSpellBinding, RotationPlanError>