Trait ChainedCommand

Source
pub trait ChainedCommand {
    type Arg;
    type Into;

    // Required method
    fn chain(self, arg: Self::Arg) -> Self::Into;
}
Expand description

A trait for commands that be chained into another.

Required Associated Types§

Source

type Arg

Type of the argument to pass with the command for chaining.

Source

type Into

Type of the command after being chained.

Required Methods§

Source

fn chain(self, arg: Self::Arg) -> Self::Into

Chain this command into another.

Implementors§