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

The name of the placeholder to match in the template.

Reference to the value to replace the template placeholders with.

Implementations on Foreign Types

Implementors