Enum codeviz_js::Variable [] [src]

pub enum Variable {
    Literal(String),
    String(String),
    Statement(Statement),
    Name(Name),
}

Variables that are part of statements.

Variants

String that will be literally appended.

String that will be quoted and appended.

Another statement that will be appended.

A name that will be appended.

Trait Implementations

impl Imports for Variable
[src]

impl Debug for Variable
[src]

Formats the value using the given formatter.

impl Clone for Variable
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl VariableFormat for Variable
[src]

impl<'a, A> From<&'a A> for Variable where
    A: Into<Variable> + Clone
[src]

Performs the conversion.

impl<'a> From<&'a str> for Variable
[src]

Performs the conversion.

impl From<String> for Variable
[src]

Performs the conversion.

impl From<Statement> for Variable
[src]

Performs the conversion.

impl From<Name> for Variable
[src]

Performs the conversion.

impl From<ImportedName> for Variable
[src]

Performs the conversion.

impl From<BuiltInName> for Variable
[src]

Performs the conversion.

impl From<LocalName> for Variable
[src]

Performs the conversion.