Struct incrust::incrust::Incrust [] [src]

pub struct Incrust<'a> {
    pub loaders: GroupLoader,
    // some fields omitted
}

Fields

loaders: GroupLoader

Methods

impl<'aa> Incrust<'aa>
[src]

fn new() -> Self

fn no_default() -> Self

fn load(&self, name: &str) -> LoadResult

fn filter(&self, id: &str, value: Option<String>, context: &Context) -> FilterResult

fn parse(&self, template: &str) -> ParseResult

fn render<'a, C: Into<Args<'a>>>(&self, name: &str, args: C) -> RenderResult

fn render_text<'a, C: Into<Args<'a>>>(&self, text: &str, args: C) -> RenderResult

fn render_parsed<'a, C: Into<Args<'a>>>(&self, template: &Template, args: C) -> RenderResult

fn render_prepared(&self, template: &Template, context: &Context) -> RenderResult

Trait Implementations

impl<'a> Debug for Incrust<'a>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a> Default for Incrust<'a>
[src]

fn default() -> Self

Returns the "default value" for a type. Read more