Enum operational::instr::Coproduct [] [src]

pub enum Coproduct<I, J> {
    Left(I),
    Right(J),
}

Combines two instruction sets into one.

This is useful to compose multiple smaller instruction sets into a bigger one.

Variants

Trait Implementations

impl<A, I: Instr<Return = A>, J: Instr<Return = A>> Instr for Coproduct<I, J>
[src]

Lift the instruction into a program.