pub struct SearchOverlay {
pub label: String,
pub visible_hits: Vec<SearchHitSpan>,
}Expand description
Scrollback-search overlay with hit highlights and a bottom-row status bar.
The bar occludes the bottom row’s cells. Re-derived on redraw and painted
until the renderer’s set_search_overlay passes None.
Fields§
§label: StringEmpty suppresses the bar; highlights still paint.
visible_hits: Vec<SearchHitSpan>One entry per col_span of a SearchToClientMsg::Match, already mapped
through the viewport by the caller. The renderer clips
out-of-range rows / cols so a viewport edit racing the paint
cannot panic.
Trait Implementations§
Source§impl Clone for SearchOverlay
impl Clone for SearchOverlay
Source§impl Debug for SearchOverlay
impl Debug for SearchOverlay
Auto Trait Implementations§
impl Freeze for SearchOverlay
impl RefUnwindSafe for SearchOverlay
impl Send for SearchOverlay
impl Sync for SearchOverlay
impl Unpin for SearchOverlay
impl UnsafeUnpin for SearchOverlay
impl UnwindSafe for SearchOverlay
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more