[][src]Trait wearte::Template

pub trait Template: Display {
    fn mime() -> &'static str
    where
        Self: Sized
;
fn size_hint() -> usize; fn call(&self) -> Result<String> { ... }
fn call_into_fmt(&self, writer: &mut dyn Write) -> Result { ... }
fn call_into_io(&self, writer: &mut dyn Write) -> Result<()> { ... } }

Required methods

fn mime() -> &'static str where
    Self: Sized

fn size_hint() -> usize

Loading content...

Provided methods

fn call(&self) -> Result<String>

fn call_into_fmt(&self, writer: &mut dyn Write) -> Result

fn call_into_io(&self, writer: &mut dyn Write) -> Result<()>

Loading content...

Implementors

Loading content...