MCPcopy Create free account
hub / github.com/chc4/lineiform / ports

Method ports

tangle/src/node.rs:226–230  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

224 }
225
226 pub fn ports(&self) -> Vec<PortIdx> {
227 let mut p = self.sources();
228 p.append(&mut self.sinks());
229 p
230 }
231
232 pub fn add_input(&mut self, p: PortIdx, r: &mut Region) {
233 self.inputs.push(p)

Callers 2

add_nodeMethod · 0.80
attach_portsMethod · 0.80

Calls 2

sourcesMethod · 0.80
sinksMethod · 0.80

Tested by

no test coverage detected