pub type VariableProvider = Arc<dyn for<'a> Fn(&ScenePromptContext<'a>) -> Option<String> + Send + Sync>;Expand description
Produces the value {{name}} expands to. None leaves the placeholder
alone rather than blanking it: a variable that could not be resolved is a
bug to see, not a hole to hide.
Aliased Type§
pub struct VariableProvider { /* private fields */ }