pub struct SymbolLookupParams {
pub name: String,
pub mode: MatchMode,
pub unit_types: Vec<CodeUnitType>,
pub languages: Vec<Language>,
pub limit: usize,
pub fuzzy_threshold: usize,
}Expand description
Parameters for Query 1: Symbol Lookup.
Fields§
§name: StringThe search string.
mode: MatchModeMatching strategy.
unit_types: Vec<CodeUnitType>If non-empty, restrict to these unit types.
languages: Vec<Language>If non-empty, restrict to these languages.
limit: usizeMaximum results to return (0 = unlimited).
fuzzy_threshold: usizeFuzzy threshold (max edit distance). Only used when mode = Fuzzy.
Trait Implementations§
Source§impl Clone for SymbolLookupParams
impl Clone for SymbolLookupParams
Source§fn clone(&self) -> SymbolLookupParams
fn clone(&self) -> SymbolLookupParams
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 SymbolLookupParams
impl Debug for SymbolLookupParams
Auto Trait Implementations§
impl Freeze for SymbolLookupParams
impl RefUnwindSafe for SymbolLookupParams
impl Send for SymbolLookupParams
impl Sync for SymbolLookupParams
impl Unpin for SymbolLookupParams
impl UnsafeUnpin for SymbolLookupParams
impl UnwindSafe for SymbolLookupParams
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