[][src]Trait daab::Builder

pub trait Builder {
    type Artifact;
    fn build(&self, cache: &mut ArtifactResolver) -> Self::Artifact;
}

Represents a builder for an artifact.

Each builder is supposed to contain all direct depenencies possibly other builders. In the build() function, the builder can access the cache inorder to resolve depending builders to their artifact.

Associated Types

Loading content...

Required methods

fn build(&self, cache: &mut ArtifactResolver) -> Self::Artifact

Loading content...

Implementors

Loading content...