pub fn zip<U, R>(self, other: FaceMap<U>, mut f: impl FnMut(Face, V, U) -> R) -> FaceMap<R> {
        FaceMap {
            within: f(Face::Within, self.within, other.within),
            nx: f(Face::NX, self.nx, other.nx),
            ny: f(Face::NY, self.ny, other.ny),
            nz: f(Face::NZ, self.nz, other.nz),
            px: f(Face::PX, self.px, other.px),
            py: f(Face::PY, self.py, other.py),
            pz: f(Face::PZ, self.pz, other.pz),
        }
    }
/// Combine two `FaceMap`s using a function applied to each pair of corresponding values.
Combine two `FaceMap`s using a function applied to each pair of corresponding values.
Combine two ` FaceMap ` s using a function applied to each pair of corresponding values .
pub fn zip<U, R>(self, other: FaceMap<U>, mut f: impl FnMut(Face, V, U) -> R) -> FaceMap<R> {
        FaceMap {
            within: f(Face::Within, self.within, other.within),
            nx: f(Face::NX, self.nx, other.nx),
            ny: f(Face::NY, self.ny, other.ny),
            nz: f(Face::NZ, self.nz, other.nz),
            px: f(Face::PX, self.px, other.px),
            py: f(Face::PY, self.py, other.py),
            pz: f(Face::PZ, self.pz, other.pz),
        }
    }
pub fn zip < U , R > ( self , other : FaceMap < U > , mut f : impl FnMut ( Face , V , U ) -> R ) -> FaceMap < R > { FaceMap { within : f ( Face :: Within , self . within , other . within ) , nx : f ( Face :: NX , self . nx , other . nx ) , ny : f ( Face :: NY , self . ny , other . ny ) , nz : f ( Face :: NZ , self . nz , other . nz ) , px : f ( Face :: PX , self . px , other . px ) , py : f ( Face :: PY , self . py , other . py ) , pz : f ( Face :: PZ , self . pz , other . pz ) , } }
Combine two `FaceMap`s using a function applied to each pair of corresponding values.
Combine two ` FaceMap ` s using a function applied to each pair of corresponding values .
self
other
FaceMap<U>
f
impl FnMut(Face, V, U) -> R