pub fn pick_list<'a, Message, Renderer, T>(
    options: impl Into<Cow<'a, [T]>>,
    selected: Option<T>,
    on_selected: impl Fn(T) -> Message + 'a
) -> PickList<'a, T, Message, Renderer>where
    T: ToString + Eq + 'static,
    [T]: ToOwned<Owned = Vec<T>>,
    Renderer: Renderer,
    Renderer::Theme: StyleSheet + StyleSheet + StyleSheet + StyleSheet,
    <Renderer::Theme as StyleSheet>::Style: From<<Renderer::Theme as StyleSheet>::Style>,
Expand description

Creates a new PickList.