pub struct TrainedVectorStructures {
pub centroids: FxHashMap<u32, Arc<CoarseCentroids>>,
pub binary_quantizers: FxHashMap<u32, Arc<BinaryCoarseQuantizer>>,
/* private fields */
}Expand description
Trained vector index structures for rebuilding segments with ANN indexes
Defined here (not in merger) so it’s available on all platforms including WASM.
Fields§
§centroids: FxHashMap<u32, Arc<CoarseCentroids>>Trained centroids per field_id
binary_quantizers: FxHashMap<u32, Arc<BinaryCoarseQuantizer>>Global Hamming coarse quantizers per binary dense field.
Trait Implementations§
Source§impl Clone for TrainedVectorStructures
impl Clone for TrainedVectorStructures
Source§fn clone(&self) -> TrainedVectorStructures
fn clone(&self) -> TrainedVectorStructures
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 moreSource§impl Default for TrainedVectorStructures
impl Default for TrainedVectorStructures
Source§fn default() -> TrainedVectorStructures
fn default() -> TrainedVectorStructures
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for TrainedVectorStructures
impl !UnwindSafe for TrainedVectorStructures
impl Freeze for TrainedVectorStructures
impl Send for TrainedVectorStructures
impl Sync for TrainedVectorStructures
impl Unpin for TrainedVectorStructures
impl UnsafeUnpin for TrainedVectorStructures
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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