Skip to main content

Pipeline

Trait Pipeline 

Source
pub trait Pipeline<'a> {
    type Command;

    // Required method
    fn bind_cmd(self, _: Command<'a>) -> Self::Command;
}
Expand description

A trait for pipelines which may be bound to a Command.

See Command::bind_pipeline for details.

Required Associated Types§

Source

type Command

The resource reference type.

Required Methods§

Source

fn bind_cmd(self, _: Command<'a>) -> Self::Command

Binds the resource to a command.

Returns a reference type.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§