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

Method any_cell

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

Source from the content-addressed store, hash-verified

656
657 #[inline]
658 pub fn any_cell(&self, mut f: impl FnMut(usize, usize, &T) -> bool) -> bool {
659 self.cells().any(|(row, col, value)| f(row, col, value))
660 }
661
662 #[inline]
663 pub fn all_cells(&self, mut f: impl FnMut(usize, usize, &T) -> bool) -> bool {

Callers

nothing calls this directly

Calls 2

anyMethod · 0.80
cellsMethod · 0.80

Tested by

no test coverage detected