Type Alias Element

Source
pub type Element = Element<Variable>;

Aliased Type§

enum Element {
    Push(Statement<Variable>),
    Concat(Statement<Variable>),
    Literal(String),
    Inner(Vec<Element<Variable>>),
    Nested(Box<Element<Variable>>),
    Spacing,
}

Variants§

Trait Implementations§

Source§

impl From<EnumSpec> for Element

Source§

fn from(value: EnumSpec) -> Element

Converts to this type from the input type.
Source§

impl From<StructSpec> for Element

Source§

fn from(value: StructSpec) -> Element

Converts to this type from the input type.
Source§

impl Imports for Element

Source§

fn imports<I>(&self, receiver: &mut I)
where I: ImportReceiver,