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<ClassSpec> for Element

Source§

fn from(value: ClassSpec) -> Element

Converts to this type from the input type.
Source§

impl From<DecoratorSpec> for Element

Source§

fn from(value: DecoratorSpec) -> Element

Converts to this type from the input type.
Source§

impl From<MethodSpec> for Element

Source§

fn from(value: MethodSpec) -> 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,