MCPcopy Create free account
hub / github.com/Vulae/pkmc / iter

Method iter

pkmc-util/src/packed_array.rs:118–120  ·  view source on GitHub ↗

Iterate through each value inside PackedArray

(&self)

Source from the content-addressed store, hash-verified

116
117 /// Iterate through each value inside PackedArray
118 pub fn iter(&self) -> impl Iterator<Item = u64> + '_ {
119 (0..self.num_entries).map(|i| self.get_unchecked(i))
120 }
121}
122
123impl<T> PackedArray<T>

Callers

nothing calls this directly

Calls 1

get_uncheckedMethod · 0.80

Tested by

no test coverage detected