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§
fn dispatch_distance( quantizer: &SphericalQuantizer<A>, ) -> Result<Poly<dyn DynDistanceComputer, A>, AllocatorError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.