[−][src]Struct acap::Neighbor
A nearest neighbor.
Fields
item: V
The neighbor itself.
distance: D
The distance from the target to this neighbor.
Implementations
impl<V, D> Neighbor<V, D>
[src]
Trait Implementations
impl<V: Clone, D: Clone> Clone for Neighbor<V, D>
[src]
impl<V: Copy, D: Copy> Copy for Neighbor<V, D>
[src]
impl<V: Debug, D: Debug> Debug for Neighbor<V, D>
[src]
impl<V1, D1, V2, D2> PartialEq<Neighbor<V2, D2>> for Neighbor<V1, D1> where
V1: PartialEq<V2>,
D1: PartialEq<D2>,
[src]
V1: PartialEq<V2>,
D1: PartialEq<D2>,
Auto Trait Implementations
impl<V, D> RefUnwindSafe for Neighbor<V, D> where
D: RefUnwindSafe,
V: RefUnwindSafe,
D: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, D> Send for Neighbor<V, D> where
D: Send,
V: Send,
D: Send,
V: Send,
impl<V, D> Sync for Neighbor<V, D> where
D: Sync,
V: Sync,
D: Sync,
V: Sync,
impl<V, D> Unpin for Neighbor<V, D> where
D: Unpin,
V: Unpin,
D: Unpin,
V: Unpin,
impl<V, D> UnwindSafe for Neighbor<V, D> where
D: UnwindSafe,
V: UnwindSafe,
D: UnwindSafe,
V: UnwindSafe,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,