Skip to main content

FIELD_CLASSES

Constant FIELD_CLASSES 

Source
pub const FIELD_CLASSES: &[&str];
Expand description

Every class this module can put in markup.

crate::facet::FACET_CLASSES’ obligation, and the module where it was missing longest. Every one of these is ruled by the generated sheet, the group’s four through [group_rules]; the list is written down anyway, because it is what [crate::corpus] holds the emitters against and what the vocabulary test holds the sheet against.

What goes wrong without it: an app checking its stylesheet against crate::vocabulary::names concludes that its live .form-group and .form-label rules match nothing and are safe to delete.