MCPcopy Create free account
hub / github.com/daniel-e/rustml / next

Method next

src/matrix.rs:789–795  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

787 type Item = &'q [T];
788
789 fn next(&mut self) -> Option<Self::Item> {
790 self.idx += 1;
791 match self.idx > self.m.rows() {
792 true => None,
793 false => self.m.row(self.idx - 1)
794 }
795 }
796}
797
798/*

Callers

nothing calls this directly

Calls 4

rowsMethod · 0.80
rowMethod · 0.80
getMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected