[][src]Trait askama::SizedTemplate

pub trait SizedTemplate {
    fn extension() -> Option<&'static str>;
fn size_hint() -> usize; }

Required methods

fn extension() -> Option<&'static str>

Helper function to inspect the template's extension

fn size_hint() -> usize

Provides an conservative estimate of the expanded length of the rendered template

Loading content...

Implementors

Loading content...