Trait interpolator::Context
source · pub trait Context {
// Required method
fn get(&self, key: &str) -> Option<Formattable<'_>>;
}
Expand description
Context for format
and write
Required Methods§
sourcefn get(&self, key: &str) -> Option<Formattable<'_>>
fn get(&self, key: &str) -> Option<Formattable<'_>>
Returns the Formattable
for the requested key