[][src]Trait cargo_create::providers::ConfigurableVariableProvider

pub trait ConfigurableVariableProvider {
    fn populate(&self, ctx: &mut Context, user_config: &UserConfig) -> bool;
}

Required methods

fn populate(&self, ctx: &mut Context, user_config: &UserConfig) -> bool

Populates the context with the variables.

Implementations should check if the value is already been inserted if they are part of set of variable providers (like author_name).

Loading content...

Trait Implementations

impl Collect for &'static dyn ConfigurableVariableProvider[src]

Implementors

Loading content...