[][src]Trait ascesis::CompilableAsDependency

pub trait CompilableAsDependency: CompilableAsContent {
    fn compile_as_dependency(
        &self,
        ctx: &Arc<Mutex<Context>>
    ) -> Result<Option<String>, Box<dyn Error + 'static>>; }

Required methods

fn compile_as_dependency(
    &self,
    ctx: &Arc<Mutex<Context>>
) -> Result<Option<String>, Box<dyn Error + 'static>>

Compile self and store the result in the given Context.

Expected to return None if none of dependencies is missing from Context, or a name of a missing dependency, chosen arbitrarily.

Loading content...

Implementors

impl CompilableAsDependency for ImmediateDef[src]

Loading content...