MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / iter_mut

Method iter_mut

native/shared/src/handles.rs:71–75  ·  view source on GitHub ↗

Iterate over all live (handle, &mut T) pairs.

(&mut self)

Source from the content-addressed store, hash-verified

69
70 /// Iterate over all live (handle, &mut T) pairs.
71 pub fn iter_mut(&mut self) -> impl Iterator<Item = (f64, &mut T)> {
72 self.items.iter_mut().enumerate().filter_map(|(idx, slot)| {
73 slot.as_mut().map(|item| ((idx + 1) as f64, item))
74 })
75 }
76}

Callers 14

parse_argsFunction · 0.80
createFunction · 0.80
destroyFunction · 0.80
drain_dirtyFunction · 0.80
on_audio_readyMethod · 0.80
frame_endMethod · 0.80
mix_outputMethod · 0.80
prepareMethod · 0.80
prepare_materialsMethod · 0.80
stage_intoFunction · 0.80
resizeMethod · 0.80
acquireMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected