pub struct InlineListSearchConfig {
pub label: String,
pub placeholder: Option<String>,
pub fuzzy: bool,
}Expand description
Search configuration for a list overlay.
Fields§
§label: String§placeholder: Option<String>§fuzzy: boolMatch candidates by fuzzy subsequence (via nucleo) and rank results by relevance, instead of requiring every query term to be a substring. Opt-in: palettes that filter on enumerated values (e.g. model pickers) keep exact-term filtering to avoid over-matching.
Trait Implementations§
Source§impl Clone for InlineListSearchConfig
impl Clone for InlineListSearchConfig
Source§impl Debug for InlineListSearchConfig
impl Debug for InlineListSearchConfig
Auto Trait Implementations§
impl Freeze for InlineListSearchConfig
impl RefUnwindSafe for InlineListSearchConfig
impl Send for InlineListSearchConfig
impl Sync for InlineListSearchConfig
impl Unpin for InlineListSearchConfig
impl UnsafeUnpin for InlineListSearchConfig
impl UnwindSafe for InlineListSearchConfig
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