Skip to main content

AssetBuilder

Trait AssetBuilder 

Source
pub(crate) trait AssetBuilder {
    // Required method
    fn build(
        &self,
        worktree: &Path,
        package: &str,
    ) -> Result<PathBuf, AssetError>;
}
Expand description

Builds a package of the proposal tree.

Required Methods§

Source

fn build(&self, worktree: &Path, package: &str) -> Result<PathBuf, AssetError>

Build package for the current system and return its output directory.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§