pub trait BlockDescriptor:
AsBlockDescriptor
+ MaybeNamed
+ MaybeLabeled {
// Provided methods
fn ports(&self) -> Vec<PortDescriptor> { ... }
fn inputs(&self) -> Vec<PortDescriptor> { ... }
fn outputs(&self) -> Vec<PortDescriptor> { ... }
fn parameters(&self) -> Vec<ParameterDescriptor> { ... }
}
Expand description
A block is an autonomous unit of computation in a system.
Provided Methods§
Sourcefn ports(&self) -> Vec<PortDescriptor>
fn ports(&self) -> Vec<PortDescriptor>
A description of this block’s I/O ports.
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.
Sourcefn parameters(&self) -> Vec<ParameterDescriptor>
fn parameters(&self) -> Vec<ParameterDescriptor>
A description of this block’s parameters.