ExtendNodePair

Trait ExtendNodePair 

Source
pub trait ExtendNodePair<Input, Out1, Out2, E: Node<Input, Output = (Out1, Out2)>> {
    // Required method
    fn pair<F1, F2, N1: Node<Out1, Output = F1>, N2: Node<Out2, Output = F2>>(
        self,
        node1: N1,
        node2: N2,
    ) -> (E, Pair<Out1, Out2, N1, N2>);
}

Required Methods§

Source

fn pair<F1, F2, N1: Node<Out1, Output = F1>, N2: Node<Out2, Output = F2>>( self, node1: N1, node2: N2, ) -> (E, Pair<Out1, Out2, N1, N2>)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Input, Out1, Out2, E: Node<Input, Output = (Out1, Out2)>> ExtendNodePair<Input, Out1, Out2, E> for E