Trait nanotemplate::PlaceholderValuePair[][src]

pub trait PlaceholderValuePair<'k, 'v> {
    fn get_placeholder(&self) -> &'k str;
fn get_value(&self) -> &'v str; }

Provides a way to get placeholder name and value for template expansion.

Required methods

fn get_placeholder(&self) -> &'k str[src]

fn get_value(&self) -> &'v str[src]

Loading content...

Implementations on Foreign Types

impl<'k, 'v> PlaceholderValuePair<'k, 'v> for (&'k str, &'v str)[src]

impl<'k, 'v> PlaceholderValuePair<'k, 'v> for &(&'k str, &'v str)[src]

impl<'t> PlaceholderValuePair<'t, 't> for [&'t str; 2][src]

impl<'t> PlaceholderValuePair<'t, 't> for &[&'t str; 2][src]

Loading content...

Implementors

Loading content...