Enum incrust::container::template::Node
[−]
[src]
pub enum Node { Text(String), Mustache(Mustache), For(ForStatement), If(IfStatement), Block(String), Include(FullExpression), }
Variants
Text(String)
Mustache(Mustache)
For(ForStatement)
If(IfStatement)
Block(String)
Include(FullExpression)
Trait Implementations
impl Debug for Node
[src]
impl PartialEq for Node
[src]
fn eq(&self, __arg_0: &Node) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Node) -> bool
This method tests for !=
.
impl Clone for Node
[src]
fn clone(&self) -> Node
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl From<Mustache> for Node
[src]
impl From<IfStatement> for Node
[src]
fn from(v: IfStatement) -> Self
Performs the conversion.
impl From<ForStatement> for Node
[src]
fn from(v: ForStatement) -> Self
Performs the conversion.