INNER CODE UNIT · Rust
resolve
metatypedev/metatype · src/metagen/src/lib.rs:87
fn resolve(
&self,
order: GeneratorInputOrder,
) -> impl std::future::Future<Output = anyhow::Result<GeneratorInputResolved>> + Send;
}
/// This type plays the "dispatcher" role to the command object
pub trait InputResolverSync {
fn resolve(&self, order: GeneratorInputOrder) -> anyhow::Result<GeneratorInputResolved>;
}
#[derive(Debug)]
pub struct GeneratedFile {
// pub path: PathBuf,
pub contents: String,
pub overwrite: bool,
}