Trait archetect_core::actions::Action [−][src]
pub trait Action { fn execute<D: AsRef<Path>>(
&self,
archetect: &Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
answers: &LinkedHashMap<String, AnswerInfo>,
context: &mut Context
) -> Result<(), ArchetectError>; }
Required methods
fn execute<D: AsRef<Path>>(
&self,
archetect: &Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
answers: &LinkedHashMap<String, AnswerInfo>,
context: &mut Context
) -> Result<(), ArchetectError>
[src]
&self,
archetect: &Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
answers: &LinkedHashMap<String, AnswerInfo>,
context: &mut Context
) -> Result<(), ArchetectError>
Implementors
impl Action for RenderAction
[src]
impl Action for RenderAction
[src]fn execute<D: AsRef<Path>>(
&self,
archetect: &Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
_answers: &LinkedHashMap<String, AnswerInfo>,
context: &mut Context
) -> Result<(), ArchetectError>
[src]
&self,
archetect: &Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
_answers: &LinkedHashMap<String, AnswerInfo>,
context: &mut Context
) -> Result<(), ArchetectError>
impl Action for RuleType
[src]
impl Action for RuleType
[src]fn execute<D: AsRef<Path>>(
&self,
_archetect: &Archetect,
_archetype: &Archetype,
_destination: D,
rules_context: &mut RulesContext,
_answers: &LinkedHashMap<String, VariableInfo>,
_context: &mut Context
) -> Result<(), ArchetectError>
[src]
&self,
_archetect: &Archetect,
_archetype: &Archetype,
_destination: D,
rules_context: &mut RulesContext,
_answers: &LinkedHashMap<String, VariableInfo>,
_context: &mut Context
) -> Result<(), ArchetectError>
impl Action for IfAction
[src]
impl Action for IfAction
[src]fn execute<D: AsRef<Path>>(
&self,
archetect: &Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
answers: &LinkedHashMap<String, VariableInfo>,
context: &mut Context
) -> Result<(), ArchetectError>
[src]
&self,
archetect: &Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
answers: &LinkedHashMap<String, VariableInfo>,
context: &mut Context
) -> Result<(), ArchetectError>
impl Action for ExecAction
[src]
impl Action for ExecAction
[src]fn execute<D: AsRef<Path>>(
&self,
archetect: &Archetect,
_archetype: &Archetype,
destination: D,
_rules_context: &mut RulesContext,
_answers: &LinkedHashMap<String, VariableInfo, RandomState>,
context: &mut Context
) -> Result<(), ArchetectError>
[src]
&self,
archetect: &Archetect,
_archetype: &Archetype,
destination: D,
_rules_context: &mut RulesContext,
_answers: &LinkedHashMap<String, VariableInfo, RandomState>,
context: &mut Context
) -> Result<(), ArchetectError>
impl Action for ForAction
[src]
impl Action for ForAction
[src]fn execute<D: AsRef<Path>>(
&self,
archetect: &Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
answers: &LinkedHashMap<String, VariableInfo>,
context: &mut Context
) -> Result<(), ArchetectError>
[src]
&self,
archetect: &Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
answers: &LinkedHashMap<String, VariableInfo>,
context: &mut Context
) -> Result<(), ArchetectError>
impl Action for ForEachAction
[src]
impl Action for ForEachAction
[src]fn execute<D: AsRef<Path>>(
&self,
archetect: &Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
answers: &LinkedHashMap<String, VariableInfo>,
context: &mut Context
) -> Result<(), ArchetectError>
[src]
&self,
archetect: &Archetect,
archetype: &Archetype,
destination: D,
rules_context: &mut RulesContext,
answers: &LinkedHashMap<String, VariableInfo>,
context: &mut Context
) -> Result<(), ArchetectError>