MCPcopy Create free account
hub / github.com/PerroEngine/Perro / all_cells

Method all_cells

perro_source/core/perro_structs/src/structs/matrix/mod.rs:663–665  ·  view source on GitHub ↗
(&self, mut f: impl FnMut(usize, usize, &T) -> bool)

Source from the content-addressed store, hash-verified

661
662 #[inline]
663 pub fn all_cells(&self, mut f: impl FnMut(usize, usize, &T) -> bool) -> bool {
664 self.cells().all(|(row, col, value)| f(row, col, value))
665 }
666
667 #[inline]
668 pub fn count_cells(&self, mut f: impl FnMut(usize, usize, &T) -> bool) -> usize {

Callers

nothing calls this directly

Calls 2

cellsMethod · 0.80
allMethod · 0.45

Tested by

no test coverage detected