pub const MemoryDescriptorIterator = struct ctx: MemoryMapSliceindex: usize = 0pub fn next(self: *MemoryDescriptorIterator) ?*MemoryDescriptor161
162
163
164
165
166
167
168
169
170pub const MemoryDescriptorIterator = struct {
ctx: MemoryMapSlice,
index: usize = 0,
pub fn next(self: *MemoryDescriptorIterator) ?*MemoryDescriptor {
const md = self.ctx.get(self.index) orelse return null;
self.index += 1;
return md;
}
}