Write documentation for iced_selector

This commit is contained in:
Héctor Ramón Jiménez 2025-09-20 14:32:45 +02:00
parent a0a2f3aa52
commit 3a0c78a2c0
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 45 additions and 1 deletions

View file

@ -8,7 +8,12 @@ use crate::target::Candidate;
use std::any::Any;
/// An [`Operation`] that runs the [`Selector`] and stops after
/// the first [`Output`](Selector::Output) is produced.
pub type Find<S> = Finder<One<S>>;
/// An [`Operation`] that runs the [`Selector`] for the entire
/// widget tree and aggregates all of its [`Output`](Selector::Output).
pub type FindAll<S> = Finder<All<S>>;
#[derive(Debug)]