Enum codeviz::python::ElementSpec [] [src]

pub enum ElementSpec {
    Statement(Statement),
    Literal(String),
    Elements(Vec<ElementSpec>),
    Nested(Box<ElementSpec>),
    Spacing,
}

Variants

Methods

impl ElementSpec
[src]

Trait Implementations

impl Debug for ElementSpec
[src]

Formats the value using the given formatter.

impl Clone for ElementSpec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Performs the conversion.

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

Performs the conversion.

impl From<MethodSpec> for ElementSpec
[src]

Performs the conversion.

impl From<ClassSpec> for ElementSpec
[src]

Performs the conversion.

impl From<DecoratorSpec> for ElementSpec
[src]

Performs the conversion.

impl From<Statement> for ElementSpec
[src]

Performs the conversion.

impl From<Elements> for ElementSpec
[src]

Performs the conversion.

impl From<Vec<String>> for ElementSpec
[src]

Performs the conversion.

impl Imports for ElementSpec
[src]