[][src]Trait arctk::file::build::Build

pub trait Build {
    type Inst;
    fn build(self, in_dir: &Path) -> Result<Self::Inst, Error>;
}

Types implementing this trait can be built at runtime from an input form structure.

Associated Types

type Inst

End type to be built.

Loading content...

Required methods

fn build(self, in_dir: &Path) -> Result<Self::Inst, Error>

Build the instance type.

Errors

if a component could not be built successfully.

Loading content...

Implementors

impl Build for FormulaBuilder[src]

type Inst = Formula

impl Build for ProbabilityBuilder[src]

type Inst = Probability

impl Build for MeshBuilder[src]

type Inst = Mesh

impl Build for GradientBuilder[src]

type Inst = Gradient<LinSrgba>

impl Build for Trans3Builder[src]

type Inst = Trans3

impl<T: Load> Build for Redirect<T>[src]

type Inst = T

impl<T: Display + Ord, S: Build> Build for Set<T, S>[src]

type Inst = Set<T, S::Inst>

Loading content...