pub enum VectorIndexSpec {
BruteForce,
IVF(IVFIndexParams),
HNSW(HNSWIndexParams),
}Variants§
Implementations§
Source§impl VectorIndexSpec
impl VectorIndexSpec
pub fn access_method(self) -> &'static str
Trait Implementations§
Source§impl Clone for VectorIndexSpec
impl Clone for VectorIndexSpec
Source§fn clone(&self) -> VectorIndexSpec
fn clone(&self) -> VectorIndexSpec
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 moreimpl Copy for VectorIndexSpec
Source§impl Debug for VectorIndexSpec
impl Debug for VectorIndexSpec
impl Eq for VectorIndexSpec
Source§impl PartialEq for VectorIndexSpec
impl PartialEq for VectorIndexSpec
impl StructuralPartialEq for VectorIndexSpec
Auto Trait Implementations§
impl Freeze for VectorIndexSpec
impl RefUnwindSafe for VectorIndexSpec
impl Send for VectorIndexSpec
impl Sync for VectorIndexSpec
impl Unpin for VectorIndexSpec
impl UnsafeUnpin for VectorIndexSpec
impl UnwindSafe for VectorIndexSpec
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