pub trait Builder {
type Input;
type Output: Artifact;
// Required method
fn build(&self, input: &Self::Input) -> BuildResult<Self::Output>;
}Required Associated Types§
Required Methods§
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".