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 context<'a>(&'a self, args: &'a Args<'a>) -> Context<'a>
fn top_context(&self) -> &HashMap<String, BType>
fn load(&self, name: &str) -> LoadResult
fn filter(&self,
id: &str,
value: Option<String>,
context: &Context)
-> FilterResult
id: &str,
value: Option<String>,
context: &Context)
-> FilterResult
fn parse(&self, template: &str) -> ParseResult
fn render<'a, C: Into<Args<'a>>>(&'a self,
name: &str,
args: C)
-> RenderResult<String>
name: &str,
args: C)
-> RenderResult<String>
fn render_text<'a, C: Into<Args<'a>>>(&'a self,
text: &str,
args: C)
-> RenderResult<String>
text: &str,
args: C)
-> RenderResult<String>
fn render_parsed<'a, C: Into<Args<'a>>>(&'a self,
template: &Template,
args: C)
-> RenderResult<String>
template: &Template,
args: C)
-> RenderResult<String>
fn render_prepared(&self,
template: &Template,
context: &Context)
-> RenderResult<String>
template: &Template,
context: &Context)
-> RenderResult<String>