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§
Push(Statement<Variable>)
Concat(Statement<Variable>)
Literal(String)
Inner(Vec<Element<Variable>>)
Nested(Box<Element<Variable>>)
Spacing
Trait Implementations§
Source§impl From<ConstructorSpec> for Element
impl From<ConstructorSpec> for Element
Source§fn from(value: ConstructorSpec) -> Element
fn from(value: ConstructorSpec) -> Element
Converts to this type from the input type.
Source§impl From<FunctionSpec> for Element
impl From<FunctionSpec> for Element
Source§fn from(value: FunctionSpec) -> Element
fn from(value: FunctionSpec) -> Element
Converts to this type from the input type.
Source§impl From<MethodSpec> for Element
impl From<MethodSpec> for Element
Source§fn from(value: MethodSpec) -> Element
fn from(value: MethodSpec) -> Element
Converts to this type from the input type.