Struct geo_aid::script::unroll::Variable

source ·
pub struct Variable {
    pub name: String,
    pub definition_span: Span,
    pub definition: UnrolledExpression,
    pub meta: VariableMeta,
}
Expand description

A variable created with a let statement.

Fields§

§name: String

Variable’s name

§definition_span: Span

Variable’s definition span.

§definition: UnrolledExpression

Variable’s definition.

§meta: VariableMeta

Variable’s metadata.

Trait Implementations§

Formats the value using the given formatter. Read more
Gets the type of self. Read more
Tries to see if self’s type matches t. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.