Enum ress::Template [−][src]
Variants
NoSub(String)
Head(String)
Middle(String)
Tail(String)
Methods
impl Template
[src]
impl Template
pub fn no_sub_template(content: &str) -> Self
[src]
pub fn no_sub_template(content: &str) -> Self
pub fn template_head(content: &str) -> Self
[src]
pub fn template_head(content: &str) -> Self
pub fn template_middle(content: &str) -> Self
[src]
pub fn template_middle(content: &str) -> Self
pub fn template_tail(content: &str) -> Self
[src]
pub fn template_tail(content: &str) -> Self
pub fn is_head(&self) -> bool
[src]
pub fn is_head(&self) -> bool
pub fn is_middle(&self) -> bool
[src]
pub fn is_middle(&self) -> bool
pub fn is_tail(&self) -> bool
[src]
pub fn is_tail(&self) -> bool
pub fn is_no_sub(&self) -> bool
[src]
pub fn is_no_sub(&self) -> bool
Trait Implementations
impl Debug for Template
[src]
impl Debug for Template
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Template
[src]
impl PartialEq for Template
fn eq(&self, other: &Template) -> bool
[src]
fn eq(&self, other: &Template) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Template) -> bool
[src]
fn ne(&self, other: &Template) -> bool
This method tests for !=
.
impl Clone for Template
[src]
impl Clone for Template
fn clone(&self) -> Template
[src]
fn clone(&self) -> Template
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl ToString for Template
[src]
impl ToString for Template