Skip to main content

TransVars

Type Alias TransVars 

Source
pub type TransVars = HashMap<String, I18nValue>;
Expand description

A bag of variables passed to translate.

The type alias exists so callers can write TransVars::new() and so future evolutions of the type (say, to a small-vec-backed map) do not ripple through every call site.

Aliased Type§

pub struct TransVars { /* private fields */ }