MCPcopy Create free account
hub / github.com/Lymia/enumset / from_u64_array

Method from_u64_array

enumset/src/repr/array.rs:207–209  ·  view source on GitHub ↗
(v: [u64; O])

Source from the content-addressed store, hash-verified

205 }
206
207 fn from_u64_array<const O: usize>(v: [u64; O]) -> Self {
208 ArrayRepr(ArrayRepr::<O>(v).to_u64_array::<N>())
209 }
210 fn try_from_u64_array<const O: usize>(v: [u64; O]) -> Option<Self> {
211 ArrayRepr::<O>(v).try_to_u64_array::<N>().map(ArrayRepr)
212 }

Callers

nothing calls this directly

Calls 1

ArrayReprClass · 0.85

Tested by

no test coverage detected