Skip to main content

AutocompleteOptionToString

Type Alias AutocompleteOptionToString 

Source
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:

Aliased Type§

pub struct AutocompleteOptionToString<T> { /* private fields */ }