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

pub struct Incrust {
    // some fields omitted
}

Methods

impl Incrust
[src]

fn new() -> Self

fn no_default() -> Self

fn add_loader(&mut self, loader: Box<Loader>)

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<Context<'a>>>(&self, name: &str, args: C) -> RenderResult

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

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

Trait Implementations

impl Debug for Incrust
[src]

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

Formats the value using the given formatter.

impl Default for Incrust
[src]

fn default() -> Self

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