[−][src]Trait ress::tokens::TemplateExt
Extension methods for allowing Template to work with both &str and String
Extension methods for allowing Template to work with both &str and String
fn no_sub_template(content: T) -> Template<T>
fn template_head(content: T) -> Template<T>
fn template_middle(content: T) -> Template<T>
fn template_tail(content: T) -> Template<T>
fn is_head(&self) -> bool
fn is_middle(&self) -> bool
fn is_tail(&self) -> bool
fn is_no_sub(&self) -> bool
impl TemplateExt<String> for Template<String>
[src]fn no_sub_template(content: String) -> Self
[src]fn template_head(content: String) -> Self
[src]fn template_middle(content: String) -> Self
[src]fn template_tail(content: String) -> Self
[src]fn is_head(&self) -> bool
[src]fn is_middle(&self) -> bool
[src]fn is_tail(&self) -> bool
[src]fn is_no_sub(&self) -> bool
[src]impl<'a> TemplateExt<&'a str> for Template<&'a str>
[src]fn no_sub_template(content: &'a str) -> Self
[src]fn template_head(content: &'a str) -> Self
[src]fn template_middle(content: &'a str) -> Self
[src]fn template_tail(content: &'a str) -> Self
[src]fn is_head(&self) -> bool
[src]fn is_middle(&self) -> bool
[src]fn is_tail(&self) -> bool
[src]fn is_no_sub(&self) -> bool
[src]