pub trait TemplateTrait: Display { fn size_hint() -> usize; fn call(&self) -> Result<String> { ... } }
Template trait, will implement by derive fmt::Display
fmt::Display
Approximation of output size used in method call. Yarte implements an heuristic algorithm of allocation.
call
which will write this template