Skip to main content

marked_attr_names

Function marked_attr_names 

Source
pub fn marked_attr_names(marker: Key<bool>) -> HashSet<&'static str>
Expand description

Returns the set of all declared attribute key names that carry the given bool meta marker (set to true) in the attrs inventory linked into the current binary.

Generic category-membership enumeration. Used by consumers that maintain explicit hard-coded category sets (for auditability) to validate the set matches the declaration-driven vocabulary; drift between the two is a bug.