pub trait Shape:
Clone
+ Send
+ Sync
+ 'static {
// Required methods
fn inlets(&self) -> Vec<AnyInlet>;
fn outlets(&self) -> Vec<AnyOutlet>;
}Expand description
A bundle of typed external ports. Implementors expose their inlets/outlets
in a stable order; inlets()/outlets() return the type-erased views the
builder validates against. Cheap to clone (ports are id + name).
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".