pub struct Neighbor {
pub index: usize,
pub distance_squared: f32,
}Expand description
One neighbor search result.
Fields§
§index: usizeIndex of the neighbor point in the source cloud.
distance_squared: f32Squared Euclidean distance to the query point.
Trait Implementations§
impl Copy for Neighbor
impl StructuralPartialEq for Neighbor
Auto Trait Implementations§
impl Freeze for Neighbor
impl RefUnwindSafe for Neighbor
impl Send for Neighbor
impl Sync for Neighbor
impl Unpin for Neighbor
impl UnsafeUnpin for Neighbor
impl UnwindSafe for Neighbor
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