Enum codeviz_common::element::Element [] [src]

pub enum Element<Var> where
    Var: VariableFormat
{ Push(Statement<Var>), Concat(Statement<Var>), Literal(String), Inner(Vec<Element<Var>>), Nested(Box<Element<Var>>), Spacing, }

Variants

Methods

impl<Var> Element<Var> where
    Var: VariableFormat
[src]

Trait Implementations

impl<Var> From<Statement<Var>> for Element<Var> where
    Var: VariableFormat
[src]

Performs the conversion.

impl<Var: Debug> Debug for Element<Var> where
    Var: VariableFormat
[src]

Formats the value using the given formatter.

impl<Var: Clone> Clone for Element<Var> where
    Var: VariableFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, T, Var> From<&'a T> for Element<Var> where
    T: Into<Element<Var>> + Clone,
    Var: VariableFormat
[src]

Performs the conversion.

impl<'a, Var> From<&'a str> for Element<Var> where
    Var: VariableFormat
[src]

Performs the conversion.

impl<Var> From<Elements<Var>> for Element<Var> where
    Var: VariableFormat
[src]

Performs the conversion.

impl<Var> From<Vec<String>> for Element<Var> where
    Var: VariableFormat
[src]

Performs the conversion.

impl<Var> ToString for Element<Var> where
    Var: VariableFormat
[src]

Converts the given value to a String. Read more