pub use iced_selector::{
AccessibleMatch, Bounded, Candidate, Selector, Target, Text, by_label, by_role, id, is_focused,
};
use crate::Task;
use crate::task;
pub fn find<S>(selector: S) -> Task<Option<S::Output>>
where
S: Selector + Send + 'static,
S::Output: Send + Clone + 'static,
{
task::widget(selector.find())
}
pub fn find_all<S>(selector: S) -> Task<Vec<S::Output>>
where
S: Selector + Send + 'static,
S::Output: Send + Clone + 'static,
{
task::widget(selector.find_all())
}