[−][src]Struct goko::query_interface::BulkInterface
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]
&self,
point_indexes: &[PointIndex]
) -> Vec<GokoResult<Vec<(f32, NodeAddress)>>>
Bulk known path
pub fn path<'a>(
&self,
points: &[PointRef<'a>]
) -> Vec<GokoResult<Vec<(f32, NodeAddress)>>>
[src]
&self,
points: &[PointRef<'a>]
) -> Vec<GokoResult<Vec<(f32, NodeAddress)>>>
Bulk path
pub fn knn<'a>(
&self,
points: &[PointRef<'a>],
k: usize
) -> Vec<GokoResult<Vec<(f32, PointIndex)>>>
[src]
&self,
points: &[PointRef<'a>],
k: usize
) -> Vec<GokoResult<Vec<(f32, PointIndex)>>>
Bulk knn
pub fn routing_knn<'a>(
&self,
points: &[PointRef<'a>],
k: usize
) -> Vec<GokoResult<Vec<(f32, PointIndex)>>>
[src]
&self,
points: &[PointRef<'a>],
k: usize
) -> Vec<GokoResult<Vec<(f32, PointIndex)>>>
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,
D: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> From<T> for T
[src]
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,