pub fn add_signature(&mut self, sig: ast::Signature) {
        let mut data = &mut self.graph[self.io];
        let (inputs, outputs) = (sig.inputs, sig.outputs);
        data.signature = ast::Signature {
            inputs: outputs,
            outputs: inputs,
        };
    }
/// Adds nodes for input and output ports to the structure graph.
/// Input/output ports are defined in the component signature.
///
/// # Arguments
///   * `sig` - the signature for the component
Adds nodes for input and output ports to the structure graph.
Input/output ports are defined in the component signature.
Adds nodes for input and output ports to the structure graph . Input / output ports are defined in the component signature .
pub fn add_signature(&mut self, sig: ast::Signature) {
        let mut data = &mut self.graph[self.io];
        let (inputs, outputs) = (sig.inputs, sig.outputs);
        data.signature = ast::Signature {
            inputs: outputs,
            outputs: inputs,
        };
    }
pub fn add_signature ( & mut self , sig : ast :: Signature ) { let mut data = & mut self . graph [ self . io ] ; let ( inputs , outputs ) = ( sig . inputs , sig . outputs ) ; data . signature = ast :: Signature { inputs : outputs , outputs : inputs , } ; }
Adds nodes for input and output ports to the structure graph.
Adds nodes for input and output ports to the structure graph .
&mut self
sig
ast::Signature