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

Method add_output

tangle/src/node.rs:236–240  ·  view source on GitHub ↗
(&mut self, r: &mut Region)

Source from the content-addressed store, hash-verified

234 }
235
236 pub fn add_output(&mut self, r: &mut Region) -> PortIdx {
237 let p_x = r.add_port();
238 self.outputs.push(p_x);
239 p_x
240 }
241
242 pub fn connect_input<'a>(&'a mut self, idx: usize, input: PortIdx, r: &'a mut Region) -> PortEdge {
243 let p = self.inputs[idx];

Callers 4

create_portsMethod · 0.80
function_bb_simpleFunction · 0.80
function_bb_if_always_0Function · 0.80
function_bb_if_always_1Function · 0.80

Calls 2

add_portMethod · 0.80
pushMethod · 0.80

Tested by 3

function_bb_simpleFunction · 0.64
function_bb_if_always_0Function · 0.64
function_bb_if_always_1Function · 0.64