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]
G: Gazetta + 'a,
G::SiteMeta: 'a,
G::PageMeta: 'a,
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
Render this into a template buffer.
fn size_hint(&self) -> usize
[src]
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]
G: Gazetta + 'a,
G::SiteMeta: 'a,
G::PageMeta: 'a,
fn render_mut(&mut self, tmpl: &mut TemplateBuffer)
[src]
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]
G: Gazetta + 'a,
G::SiteMeta: 'a,
G::PageMeta: 'a,
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
Render this into a template buffer.