pub type AutocompleteOptionToString<T> = Rc<dyn Fn(&T) -> String>;Expand description
The type of the RawAutocomplete callback that converts an option value to a string
which can be displayed in the widget’s options menu.
See also:
RawAutocomplete::display_string_for_option, which is of this type.
Aliased Type§
pub struct AutocompleteOptionToString<T> { /* private fields */ }