Skip to main content

Constructible

Trait Constructible 

Source
pub trait Constructible<A = GlobalAllocator>
where A: Allocator,
{ // Required method fn dispatch_distance( quantizer: &SphericalQuantizer<A>, ) -> Result<Poly<dyn DynDistanceComputer, A>, AllocatorError>; }
Expand description

Pre-dispatch distance functions between compressed data vectors from quantizer specialized for the current run-time mciro architecture.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<const NBITS: usize, A> Constructible<A> for Impl<NBITS, A>
where A: Allocator, AsData<NBITS>: FromOpaque, SphericalQuantizer<A>: Dispatchable<AsData<NBITS>, NBITS>,