[][src]Trait proximity::Constellation

pub trait Constellation: Sync + Send {
    fn add_points(&self, points: Vec<Vec<f32>>);
fn find(&self, point: Vec<f32>, within: f32) -> QueryIterator;
fn count(&self) -> usize;
fn dimensions(&self) -> usize;
fn memory_size(&self) -> usize; }

Required methods

fn add_points(&self, points: Vec<Vec<f32>>)

fn find(&self, point: Vec<f32>, within: f32) -> QueryIterator

fn count(&self) -> usize

fn dimensions(&self) -> usize

fn memory_size(&self) -> usize

Loading content...

Implementors

impl<DimX> Constellation for VecSIMDConstellation<DimX> where
    DimX: NamedDim + Sync,
    DefaultAllocator: Allocator<WideF32x4, DimX::Name>,
    <DefaultAllocator as Allocator<WideF32x4, DimX::Name>>::Buffer: Send + Sync
[src]

impl<N: ArrayLength<f32>> Constellation for SimpleConstellation<N>[src]

Loading content...