[][src]Struct goko::query_interface::BulkInterface

pub struct BulkInterface<D: PointCloud> { /* fields omitted */ }

Inteface for bulk queries. Handles cloning the readers for you

Implementations

impl<D: PointCloud> BulkInterface<D>[src]

pub fn new(reader: CoverTreeReader<D>) -> Self[src]

Creates a new one.

pub fn known_path(
    &self,
    point_indexes: &[PointIndex]
) -> Vec<GokoResult<Vec<(f32, NodeAddress)>>>
[src]

Bulk known path

pub fn path<'a>(
    &self,
    points: &[PointRef<'a>]
) -> Vec<GokoResult<Vec<(f32, NodeAddress)>>>
[src]

Bulk path

pub fn knn<'a>(
    &self,
    points: &[PointRef<'a>],
    k: usize
) -> Vec<GokoResult<Vec<(f32, PointIndex)>>>
[src]

Bulk knn

pub fn routing_knn<'a>(
    &self,
    points: &[PointRef<'a>],
    k: usize
) -> Vec<GokoResult<Vec<(f32, PointIndex)>>>
[src]

Bulk routing knn

Auto Trait Implementations

impl<D> !RefUnwindSafe for BulkInterface<D>

impl<D> Send for BulkInterface<D>

impl<D> !Sync for BulkInterface<D>

impl<D> Unpin for BulkInterface<D>

impl<D> UnwindSafe for BulkInterface<D> where
    D: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> From<T> for T[src]

impl<T> FromCast<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,