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

Method drop_inputs

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

Source from the content-addressed store, hash-verified

191
192impl<'a> SnarlViewer<GuiAudioNode> for DemoViewer<'a> {
193 fn drop_inputs(&mut self, pin: &InPin, snarl: &mut Snarl<GuiAudioNode>) {
194 for from in pin.remotes.iter() {
195 self.remove_edge(*from, pin.id, snarl);
196 }
197 }
198
199 fn drop_outputs(&mut self, pin: &OutPin, snarl: &mut Snarl<GuiAudioNode>) {
200 for to in pin.remotes.iter() {

Callers

nothing calls this directly

Calls 1

remove_edgeMethod · 0.80

Tested by

no test coverage detected