Derive Clone for Builder

This commit is contained in:
Dirkjan Ochtman 2021-05-17 16:39:33 +02:00
parent 9fa957e0d6
commit a557168349
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ mod types;
pub use types::PointId; pub use types::PointId;
use types::{Candidate, Layer, LayerId, UpperNode, Visited, ZeroNode, INVALID}; use types::{Candidate, Layer, LayerId, UpperNode, Visited, ZeroNode, INVALID};
#[derive(Clone)]
/// Parameters for building the `Hnsw` /// Parameters for building the `Hnsw`
pub struct Builder { pub struct Builder {
ef_search: usize, ef_search: usize,