pub fn section_index(section: Section) -> Option<usize>Expand description
Canonical-order index of section in ONBOARDING_SECTIONS.
Always Some for any valid Section variant — the const includes
every variant by construction. Returns Option for API symmetry
with section_index_for_key, which can fail on unknown keys.