MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / clone

Method clone

nodedb-graph/src/csr/dense_array.rs:100–102  ·  view source on GitHub ↗

Clone always produces an owned copy (materializes zero-copy data).

(&self)

Source from the content-addressed store, hash-verified

98impl<T: Copy> Clone for DenseArray<T> {
99 /// Clone always produces an owned copy (materializes zero-copy data).
100 fn clone(&self) -> Self {
101 Self::Owned(self.to_vec())
102 }
103}
104
105impl<T: Copy + std::fmt::Debug> std::fmt::Debug for DenseArray<T> {

Callers 15

geohash_coverFunction · 0.45
st_unionFunction · 0.45
buffer_polygonFunction · 0.45
index_documentMethod · 0.45
prefix_searchMethod · 0.45
checkpoint_to_bytesMethod · 0.45
from_checkpointMethod · 0.45
validate_recursiveFunction · 0.45
write_geometryFunction · 0.45
st_intersectsFunction · 0.45
st_containsFunction · 0.45
st_distanceFunction · 0.45

Calls 1

to_vecMethod · 0.45