MCPcopy Create free account
hub / github.com/cosdata/cosdata / new

Method new

org/src/cluster_hierarchy.rs:16–18  ·  view source on GitHub ↗
(similarity: f64, vector: Vector)

Source from the content-addressed store, hash-verified

14
15impl SearchResult {
16 fn new(similarity: f64, vector: Vector) -> Self {
17 SearchResult { similarity, vector }
18 }
19}
20impl Ord for SearchResult {
21 fn cmp(&self, other: &Self) -> Ordering {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected