Derive Clone for Builder
This commit is contained in:
parent
9fa957e0d6
commit
a557168349
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue