pub struct SearchParams(pub cuvsIvfFlatSearchParams_t);Expand description
Supplemental parameters to search IvfFlat index
Tuple Fields§
§0: cuvsIvfFlatSearchParams_tImplementations§
Source§impl SearchParams
impl SearchParams
Sourcepub fn new() -> Result<SearchParams>
pub fn new() -> Result<SearchParams>
Returns a new SearchParams object
Sourcepub fn set_n_probes(self, n_probes: u32) -> SearchParams
pub fn set_n_probes(self, n_probes: u32) -> SearchParams
Supplemental parameters to search IVF-Flat index
Trait Implementations§
Source§impl Debug for SearchParams
impl Debug for SearchParams
Auto Trait Implementations§
impl Freeze for SearchParams
impl RefUnwindSafe for SearchParams
impl !Send for SearchParams
impl !Sync for SearchParams
impl Unpin for SearchParams
impl UnwindSafe for SearchParams
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