Trait protoflow_core::BlockDescriptor
source · pub trait BlockDescriptor {
// Provided methods
fn name(&self) -> Option<String> { ... }
fn label(&self) -> Option<String> { ... }
fn inputs(&self) -> Vec<PortDescriptor> { ... }
fn outputs(&self) -> Vec<PortDescriptor> { ... }
}
Expand description
A block is an autonomous unit of computation in a system.
Provided Methods§
sourcefn inputs(&self) -> Vec<PortDescriptor>
fn inputs(&self) -> Vec<PortDescriptor>
A description of this block’s input ports.
sourcefn outputs(&self) -> Vec<PortDescriptor>
fn outputs(&self) -> Vec<PortDescriptor>
A description of this block’s output ports.