Skip to main content

flag_selector_count

Function flag_selector_count 

Source
pub const fn flag_selector_count(command: &Command<'_>, selector: &str) -> usize
Expand description

How many flags on command accept selector.

Used by derives after flattened tables are composed, where neither expansion could validate a cross-boundary relationship on its own.