MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / drop_outputs

Method drop_outputs

examples/visual_node_graph/src/ui.rs:199–203  ·  view source on GitHub ↗
(&mut self, pin: &OutPin, snarl: &mut Snarl<GuiAudioNode>)

Source from the content-addressed store, hash-verified

197 }
198
199 fn drop_outputs(&mut self, pin: &OutPin, snarl: &mut Snarl<GuiAudioNode>) {
200 for to in pin.remotes.iter() {
201 self.remove_edge(pin.id, *to, snarl);
202 }
203 }
204
205 fn disconnect(&mut self, from: &OutPin, to: &InPin, snarl: &mut Snarl<GuiAudioNode>) {
206 self.remove_edge(from.id, to.id, snarl);

Callers

nothing calls this directly

Calls 1

remove_edgeMethod · 0.80

Tested by

no test coverage detected