MCPcopy Index your code
hub / github.com/ciphermodelabs/ciphercore / clone

Method clone

ciphercore-base/src/graphs.rs:386–390  ·  view source on GitHub ↗

Returns a new [Node] value with a copy of the pointer to a node.

(&self)

Source from the content-addressed store, hash-verified

384impl Clone for Node {
385 /// Returns a new [Node] value with a copy of the pointer to a node.
386 fn clone(&self) -> Self {
387 Node {
388 body: self.body.clone(),
389 }
390 }
391}
392
393impl PartialEq for Node {

Callers 15

get_slice_shapeFunction · 0.80
slice_indexFunction · 0.80
get_clean_sliceFunction · 0.80
get_random_valueMethod · 0.80
test_prng_fixed_seedFunction · 0.80
test_prng_random_valueFunction · 0.80
test_prf_fixed_keyFunction · 0.80
test_prf_output_valueFunction · 0.80

Calls

no outgoing calls

Tested by 15

test_prng_fixed_seedFunction · 0.64
test_prng_random_valueFunction · 0.64
test_prf_fixed_keyFunction · 0.64
test_prf_output_valueFunction · 0.64
test_one_value_of_typeFunction · 0.64
test_128_bitFunction · 0.64
test_secret_sharingFunction · 0.64
test_get_secret_sharesFunction · 0.64
test_is_equalFunction · 0.64