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 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