Action

Trait Action 

Source
pub trait Action {
    // Required method
    fn execute<D: AsRef<Path>>(
        &self,
        archetect: &mut Archetect,
        archetype: &Archetype,
        destination: D,
        rules_context: &mut RulesContext,
        answers: &LinkedHashMap<String, AnswerInfo>,
        context: &mut Context,
    ) -> Result<(), ArchetectError>;
}

Required Methods§

Source

fn execute<D: AsRef<Path>>( &self, archetect: &mut Archetect, archetype: &Archetype, destination: D, rules_context: &mut RulesContext, answers: &LinkedHashMap<String, AnswerInfo>, context: &mut Context, ) -> Result<(), ArchetectError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§