Struct incrust::container::incrust::Incrust
[−]
[src]
pub struct Incrust { pub loaders: GroupLoader, // some fields omitted }
Fields
loaders: GroupLoader
Methods
impl Incrust
[src]
fn new() -> Self
fn no_default() -> Self
fn top_context<'s>(&'s self) -> &'s HashMap<String, Arg<'s>>
fn load(&self, name: &str) -> LoadResult
fn filter<'s>(
&'s self,
id: &str,
context: &'s Context<'s>,
value: Option<Arg<'s>>
) -> FilterResult<Arg<'s>>
&'s self,
id: &str,
context: &'s Context<'s>,
value: Option<Arg<'s>>
) -> FilterResult<Arg<'s>>
fn parse(&self, template: &str) -> TemplateParseResult<Template>
fn render<'r>(&self, name: &str, args: &'r Args<'r>) -> RenderResult<String>
fn render_text<'r>(
&self,
text: &str,
args: &'r Args<'r>
) -> RenderResult<String>
&self,
text: &str,
args: &'r Args<'r>
) -> RenderResult<String>
fn render_parsed<'r>(
&self,
template: &Template,
args: &'r Args<'r>
) -> RenderResult<String>
&self,
template: &Template,
args: &'r Args<'r>
) -> RenderResult<String>
fn render_prepared<'r>(&self, context: &'r Context<'r>) -> RenderResult<String>
fn create_global_context<'s>(
&'s self,
template: &'s Template,
args: &'s Args<'s>
) -> RenderResult<GlobalContext<'s>>
&'s self,
template: &'s Template,
args: &'s Args<'s>
) -> RenderResult<GlobalContext<'s>>