Trait nanotemplate::PlaceholderValuePair
source · [−]pub trait PlaceholderValuePair<'v, V: ?Sized> {
fn placeholder(&self) -> &str;
fn value_ref(&self) -> &'v V;
}
Expand description
Provides a way to get placeholder name and value for template expansion.
Required Methods
sourcefn placeholder(&self) -> &str
fn placeholder(&self) -> &str
The name of the placeholder to match in the template.