MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / iter

Method iter

splashsurf_lib/src/topology.rs:389–391  ·  view source on GitHub ↗

Returns an iterator of all unique directed axes and references to the corresponding stored value

(&self)

Source from the content-addressed store, hash-verified

387
388 /// Returns an iterator of all unique directed axes and references to the corresponding stored value
389 pub fn iter(&self) -> impl Iterator<Item = (&DirectedAxis, &T)> {
390 DirectedAxis::all_possible().iter().zip(self.data.iter())
391 }
392
393 /// Returns an iterator of all unique directed axes and mutable references to the corresponding stored value
394 pub fn iter_mut(&mut self) -> impl Iterator<Item = (&DirectedAxis, &mut T)> {

Callers 3

iter_mutMethod · 0.45
valuesMethod · 0.45

Calls

no outgoing calls