pub struct NN {
pub k: usize,
pub metric: Metric,
}Fields§
§k: usize§metric: MetricTrait Implementations§
impl Copy for NN
Auto Trait Implementations§
impl Freeze for NN
impl RefUnwindSafe for NN
impl Send for NN
impl Sync for NN
impl Unpin for NN
impl UnwindSafe for NN
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