Struct ra_ap_ide_db::symbol_index::Query
source · pub struct Query { /* private fields */ }
Implementations§
source§impl Query
impl Query
pub fn new(query: String) -> Query
pub fn only_types(&mut self)
pub fn libs(&mut self)
pub fn fuzzy(&mut self)
pub fn exact(&mut self)
pub fn prefix(&mut self)
sourcepub fn assoc_search_mode(&mut self, assoc_mode: AssocSearchMode)
pub fn assoc_search_mode(&mut self, assoc_mode: AssocSearchMode)
Specifies whether we want to include associated items in the result.
pub fn case_sensitive(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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
source§impl<T> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.