pub struct NearestPair {
pub base: usize,
pub head: usize,
pub distance: f64,
}Fields§
§base: usize§head: usize§distance: f64Trait Implementations§
Source§impl Clone for NearestPair
impl Clone for NearestPair
Source§fn clone(&self) -> NearestPair
fn clone(&self) -> NearestPair
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NearestPair
impl Debug for NearestPair
Source§impl PartialEq for NearestPair
impl PartialEq for NearestPair
impl Copy for NearestPair
impl StructuralPartialEq for NearestPair
Auto Trait Implementations§
impl Freeze for NearestPair
impl RefUnwindSafe for NearestPair
impl Send for NearestPair
impl Sync for NearestPair
impl Unpin for NearestPair
impl UnwindSafe for NearestPair
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