Skip to main content

is_miniextendr_choices_attr

Function is_miniextendr_choices_attr 

Source
pub(crate) fn is_miniextendr_choices_attr(attr: &Attribute) -> bool
Expand description

Returns true if attr is a #[miniextendr(...)] attribute containing choices(...).

The choices(...) option may be combined with other per-parameter options (e.g., #[miniextendr(match_arg, choices("a", "b"))]).