pub fn add_signal<N>(mut self, name: &str, signal: Signal) -> Self
        where N: ToString,
    {
        self.signals.insert(name.to_string(), signal);

        self
    }
/// Add a signal to the interface.
Add a signal to the interface.
Add a signal to the interface .
pub fn add_signal<N>(mut self, name: &str, signal: Signal) -> Self
        where N: ToString,
    {
        self.signals.insert(name.to_string(), signal);
        self
    }
pub fn add_signal < N > ( mut self , name : & str , signal : Signal ) -> Self where N : ToString , { self . signals . insert ( name . to_string ( ) , signal ) ; self }
Add a signal to the interface.
Add a signal to the interface .
mut self
name
&str
signal
Signal