Skip to main content

CATEGORIES

Constant CATEGORIES 

Source
pub const CATEGORIES: [StatusCategory; 7];
Expand description

Every status category, in the order the vocabulary declares them.

This list mirrors StatusCategory, so it carries its own drift gate rather than a reviewer’s attention: category_position is a wildcard-free match, so a variant added to the shared vocabulary fails to compile until it is named there, and this crate’s suite asserts that every position that function can return is filled by the category returning it — which a list still missing the new variant cannot satisfy.