euv-docs 0.37.9

A documentation site generator powered by euv + euv-ui (Rust/WASM).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::*;

/// Search interaction state shared by the input and its preview rows.
#[derive(Clone, Data, Debug, Default, PartialEq)]
pub(crate) struct HeaderSearchState {
    /// Whether the user has opened the preview panel.
    #[get(pub(crate), type(copy))]
    #[set(pub(crate))]
    pub(crate) open: bool,
    /// Explicitly highlighted result; typing never selects a result.
    #[get(pub(crate), type(copy))]
    #[set(pub(crate))]
    pub(crate) active: Option<usize>,
}