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

Method into_storage

src/models/versioned_vec.rs:25–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 }
24
25 fn into_storage(self) -> u64 {
26 ((self.0 as u64) << 32) | (self.1.to_bits() as u64)
27 }
28
29 fn from_storage(storage: u64) -> Self {
30 ((storage >> 32) as u32, f32::from_bits(storage as u32))

Callers 2

pushMethod · 0.80
push_sortedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected