pub struct QuantPruneAccessor<'a, T>where
T: VectorRepr,{ /* private fields */ }Expand description
A glue::PruneAccessor for quantized vectors in the BfTreeProvider.
Trait Implementations§
Source§impl<T> HasId for QuantPruneAccessor<'_, T>where
T: VectorRepr,
impl<T> HasId for QuantPruneAccessor<'_, T>where
T: VectorRepr,
Source§impl<'q, T> PruneAccessor for QuantPruneAccessor<'q, T>where
T: VectorRepr,
impl<'q, T> PruneAccessor for QuantPruneAccessor<'q, T>where
T: VectorRepr,
Source§type ElementRef<'a> = Opaque<'a>
type ElementRef<'a> = Opaque<'a>
The element type yielded from
Self::View.Source§type View<'a> = View<'a, u32, Owned>
where
Self: 'a
type View<'a> = View<'a, u32, Owned> where Self: 'a
The type of the prune-local view over a collection of ids.
Source§type Distance<'a> = &'a UnwrapErr<DistanceComputer, DistanceError>
where
Self: 'a
type Distance<'a> = &'a UnwrapErr<DistanceComputer, DistanceError> where Self: 'a
The computer used to compute distances between elements.
Source§type Neighbors<'a> = Neighbors<'a, NeighborAccessor<'q, u32>>
where
Self: 'a
type Neighbors<'a> = Neighbors<'a, NeighborAccessor<'q, u32>> where Self: 'a
The type of the neighbor-accessor delegate.
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for QuantPruneAccessor<'a, T>
impl<'a, T> !UnwindSafe for QuantPruneAccessor<'a, T>
impl<'a, T> Freeze for QuantPruneAccessor<'a, T>
impl<'a, T> Send for QuantPruneAccessor<'a, T>
impl<'a, T> Sync for QuantPruneAccessor<'a, T>
impl<'a, T> Unpin for QuantPruneAccessor<'a, T>
impl<'a, T> UnsafeUnpin for QuantPruneAccessor<'a, T>
Blanket Implementations§
impl<T> AsyncFriendly for T
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> 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