Skip to main content

Shape

Trait Shape 

Source
pub trait Shape:
    Clone
    + Send
    + Sync
    + 'static {
    // Required methods
    fn inlets(&self) -> Vec<AnyInlet>;
    fn outlets(&self) -> Vec<AnyOutlet>;
}

Required Methods§

Source

fn inlets(&self) -> Vec<AnyInlet>

Source

fn outlets(&self) -> Vec<AnyOutlet>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<I1: 'static, O1: 'static, I2: 'static, O2: 'static> Shape for BidiShape<I1, O1, I2, O2>

Source§

impl<In: 'static, Out0: 'static, Out1: 'static> Shape for FanOutShape2<In, Out0, Out1>

Source§

impl<In: 'static, Out: 'static> Shape for FanInShape<In, Out>

Source§

impl<In: 'static, Out: 'static> Shape for FanOutShape<In, Out>

Source§

impl<In: 'static, Out: 'static> Shape for FlowShape<In, Out>

Source§

impl<In: 'static> Shape for SinkShape<In>

Source§

impl<Left: 'static, Right: 'static> Shape for ZipShape<Left, Right>

Source§

impl<Out: 'static> Shape for SourceShape<Out>

Source§

impl<T: 'static> Shape for MergePreferredShape<T>