Skip to main content

find_text_bounds

Function find_text_bounds 

Source
pub fn find_text_bounds<E: SemanticElementLike>(
    elements: &[E],
    text: &str,
) -> Option<Bounds>
Expand description

Find an element by text content and return full bounds.