pub trait SubstituteInNode: Network {
// Required method
fn substitute_in_node(
&mut self,
node: Self::NodeId,
old_signal: Self::Signal,
new_signal: Self::Signal,
);
}Expand description
A network which supports substituting input signals of nodes.
Required Methods§
Sourcefn substitute_in_node(
&mut self,
node: Self::NodeId,
old_signal: Self::Signal,
new_signal: Self::Signal,
)
fn substitute_in_node( &mut self, node: Self::NodeId, old_signal: Self::Signal, new_signal: Self::Signal, )
Substitute a signal with another signal in the given node.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.