[][src]Trait yarte::TemplateBytesTrait

pub trait TemplateBytesTrait {
    fn call(&self, capacity: usize) -> Bytes;
fn ccall(self, capacity: usize) -> Bytes; }

Template trait

Required methods

fn call(&self, capacity: usize) -> Bytes

Writes to buffer and return it freeze

Panics

Render length overflows usize

fn ccall(self, capacity: usize) -> Bytes

Writes to buffer and return it freeze and drop

Panics

Render length overflows usize

Loading content...

Implementors

Loading content...