pub struct AutocompleteConfig {
pub max_results: usize,
pub min_prefix_length: usize,
pub case_sensitive: bool,
}Expand description
Configuration for autocomplete behavior
Fields§
§max_results: usize§min_prefix_length: usize§case_sensitive: boolTrait Implementations§
Source§impl Clone for AutocompleteConfig
impl Clone for AutocompleteConfig
Source§fn clone(&self) -> AutocompleteConfig
fn clone(&self) -> AutocompleteConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutocompleteConfig
impl Debug for AutocompleteConfig
Auto Trait Implementations§
impl Freeze for AutocompleteConfig
impl RefUnwindSafe for AutocompleteConfig
impl Send for AutocompleteConfig
impl Sync for AutocompleteConfig
impl Unpin for AutocompleteConfig
impl UnsafeUnpin for AutocompleteConfig
impl UnwindSafe for AutocompleteConfig
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