Struct gazetta_render_ext::Assets [] [src]

pub struct Assets<'a, G>(pub &'a Site<'a, G>) where G: Gazetta + 'a, G::SiteMeta: 'a, G::PageMeta: 'a;

Renders common head tags for a site and page.

Trait Implementations

impl<'a, G> RenderOnce for Assets<'a, G> where G: Gazetta + 'a, G::SiteMeta: 'a, G::PageMeta: 'a
[src]

fn render_once(self, tmpl: &mut TemplateBuffer)

Render this into a template buffer.

fn size_hint(&self) -> usize

Returns a (very) rough estimate of how many bytes this Render will use.

impl<'a, G> RenderMut for Assets<'a, G> where G: Gazetta + 'a, G::SiteMeta: 'a, G::PageMeta: 'a
[src]

fn render_mut(&mut self, tmpl: &mut TemplateBuffer)

Render this into a template buffer.

impl<'a, G> Render for Assets<'a, G> where G: Gazetta + 'a, G::SiteMeta: 'a, G::PageMeta: 'a
[src]

fn render(&self, tmpl: &mut TemplateBuffer)

Render this into a template buffer.