pub trait BlockDefinition: BlockName {
// Provided methods
fn inputs(&self) -> Vec<InputPortId> { ... }
fn outputs(&self) -> Vec<OutputPortId> { ... }
}Expand description
A block definition.
pub trait BlockDefinition: BlockName {
// Provided methods
fn inputs(&self) -> Vec<InputPortId> { ... }
fn outputs(&self) -> Vec<OutputPortId> { ... }
}A block definition.