Rename selector::visible_bounds to delineate

This commit is contained in:
Héctor Ramón Jiménez 2025-09-17 23:59:05 +02:00
parent 611f89fc59
commit afac7be7d1
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 11 additions and 13 deletions

View file

@ -18,7 +18,7 @@ pub fn find_by_text(text: impl Into<String>) -> Task<Option<Text>> {
}
/// Finds the visible bounds of the first [`Selector`] target.
pub fn visible_bounds<S>(selector: S) -> Task<Option<Rectangle>>
pub fn delineate<S>(selector: S) -> Task<Option<Rectangle>>
where
S: Selector + Send + 'static,
S::Output: Bounded + Clone + Send + 'static,