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

Method default

src/models/atomic_array.rs:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33impl<T, const N: usize> Default for AtomicArray<T, N> {
34 fn default() -> Self {
35 Self {
36 items: std::array::from_fn(|_| AtomicPtr::new(ptr::null_mut())),
37 }
38 }
39}
40
41#[allow(unused)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected