pub trait NetworkEditShortcuts: NetworkEdit {
// Provided method
fn create_primary_inputs<const NUM_INPUTS: usize>(
&mut self,
) -> [Self::Signal; NUM_INPUTS] { ... }
}Expand description
Convenience functions implemented on top of the NetworkEdit trait.
Provided Methods§
Sourcefn create_primary_inputs<const NUM_INPUTS: usize>(
&mut self,
) -> [Self::Signal; NUM_INPUTS]
fn create_primary_inputs<const NUM_INPUTS: usize>( &mut self, ) -> [Self::Signal; NUM_INPUTS]
Create many inputs at once.
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.