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

Method iter_mut

splashsurf_lib/src/topology.rs:394–398  ·  view source on GitHub ↗

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

(&mut self)

Source from the content-addressed store, hash-verified

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)> {
395 DirectedAxis::all_possible()
396 .iter()
397 .zip(self.data.iter_mut())
398 }
399
400 /// Returns an iterator over references of all stored values
401 pub fn values(&self) -> impl Iterator<Item = &T> {

Callers 15

seq_resize_and_fillFunction · 0.80
try_convertMethod · 0.80
half_edge_collapseMethod · 0.80
appendMethod · 0.80
visit_mut_dfsMethod · 0.80
visit_mut_bfsMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by 2

test_halfedge_planeFunction · 0.64
sort_neighborhood_listsFunction · 0.64