Skip to main content

SearchHandler

Type Alias SearchHandler 

Source
pub type SearchHandler<V> = Rc<dyn Fn(SharedString, &mut Context<'_, SelectState<V>>) -> Task<Vec<SelectEntry<V>>>>;
Expand description

A search the application runs itself: given the query, it returns the rows to show, when it has them. See SelectState::with_search_handler.

Aliased Typeยง

pub struct SearchHandler<V> { /* private fields */ }