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

Method clear

perro_source/core/perro_structs/src/structs/post_process.rs:263–265  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

261 .entries
262 .iter()
263 .position(|entry| entry.name.as_deref() == Some(name))?;
264 self.remove_index(idx)
265 }
266
267 pub fn remove_index(&mut self, index: usize) -> Option<PostProcessEffect> {
268 if index >= self.entries.len() {

Callers 4

eval_ops_particleFunction · 0.45
parseMethod · 0.45
clear_itemsMethod · 0.45
clear_bindingsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected