pub struct HnswVectorEngine { /* private fields */ }Expand description
HNSW-based vector search engine.
Implementations§
Source§impl HnswVectorEngine
impl HnswVectorEngine
pub fn upsert_with_metadata( &self, world: &WorldKey, atom_id: &AtomId, vector: &[f32], metadata: VectorMetadata, ) -> Result<()>
Trait Implementations§
Source§impl Default for HnswVectorEngine
impl Default for HnswVectorEngine
Source§impl VectorEngine for HnswVectorEngine
impl VectorEngine for HnswVectorEngine
Auto Trait Implementations§
impl !Freeze for HnswVectorEngine
impl RefUnwindSafe for HnswVectorEngine
impl Send for HnswVectorEngine
impl Sync for HnswVectorEngine
impl Unpin for HnswVectorEngine
impl UnsafeUnpin for HnswVectorEngine
impl UnwindSafe for HnswVectorEngine
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more