Struct gazetta_render_ext::Content
[−]
[src]
pub struct Content<'a, G>(pub &'a Page<'a, G>)
where
G: Gazetta + 'a,
G::SiteMeta: 'a,
G::PageMeta: 'a;
Renders a page's content
Trait Implementations
impl<'a, G> RenderOnce for Content<'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 Content<'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 Content<'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.