Skip to main content

choice

Function choice 

Source
pub fn choice(
    at: PathPat,
    title: &str,
    icon: Icon,
    values: &[(&str, &str)],
) -> FieldRule
Expand description

A closed pick-list: anything else is a value prov would ignore, so the editor rejects it rather than writing it and letting the default quietly win.