Skip to main content

Builder

Trait Builder 

Source
pub trait Builder {
    type Input;
    type Output: Artifact;

    // Required method
    fn build(&self, input: &Self::Input) -> BuildResult<Self::Output>;
}

Required Associated Types§

Required Methods§

Source

fn build(&self, input: &Self::Input) -> BuildResult<Self::Output>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§