pub trait TemplateTrait: Display {
    fn size_hint() -> usize;

    fn call(&self) -> Result<String> { ... }
}
Expand description

Template trait, will implement by derive fmt::Display

Required Methods

Approximation of output size used in method call. Yarte implements an heuristic algorithm of allocation.

Provided Methods

which will write this template

Implementors