Struct instant_distance::Item
source · pub struct Item<'a, P> {
pub distance: f32,
pub pid: PointId,
pub point: &'a P,
}
Fields§
§distance: f32
§pid: PointId
§point: &'a P
Auto Trait Implementations§
impl<'a, P> RefUnwindSafe for Item<'a, P>where P: RefUnwindSafe,
impl<'a, P> Send for Item<'a, P>where P: Sync,
impl<'a, P> Sync for Item<'a, P>where P: Sync,
impl<'a, P> Unpin for Item<'a, P>
impl<'a, P> UnwindSafe for Item<'a, P>where P: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more