#[non_exhaustive]pub struct NarrowingQuery {
pub description: String,
pub top_k_files: usize,
pub top_k_symbols: usize,
}Expand description
Query parameters for hierarchical narrowing.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.description: StringNatural-language description of the code to locate.
top_k_files: usizeMaximum number of candidate files to inspect skeletons for.
top_k_symbols: usizeMaximum number of symbols to return in results.
Implementations§
Trait Implementations§
Source§impl Clone for NarrowingQuery
impl Clone for NarrowingQuery
Source§fn clone(&self) -> NarrowingQuery
fn clone(&self) -> NarrowingQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NarrowingQuery
impl RefUnwindSafe for NarrowingQuery
impl Send for NarrowingQuery
impl Sync for NarrowingQuery
impl Unpin for NarrowingQuery
impl UnsafeUnpin for NarrowingQuery
impl UnwindSafe for NarrowingQuery
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