Function strfmt::strfmt [] [src]

pub fn strfmt<T: Display>(
    fmtstr: &str,
    vars: &HashMap<String, T>
) -> Result<String>

Rust-style format a string given a HashMap of the variables.