Trait space::KnnInsert[][src]

pub trait KnnInsert: KnnMap {
    fn insert(&mut self, key: Self::Point, value: Self::Value);
}
Expand description

Implement this trait on KNN search data structures that map keys to values and which you can insert new (key, value) pairs.

Required methods

Insert a (key, value) pair to the KnnMap.

Implementors