Enum geo_aid::script::parser::SimpleExpression
source · pub enum SimpleExpression {
Ident(Ident),
Number(ExprNumber),
Call(ExprCall),
Unop(ExprUnop),
Parenthised(ExprParenthised),
ExplicitIterator(ExplicitIterator),
PointCollection(PointCollectionConstructor),
}Expand description
A parsed simple expression.
Variants§
Ident(Ident)
An identifier (variable access, most likely)
Number(ExprNumber)
A raw number
Call(ExprCall)
A function call
Unop(ExprUnop)
A unary operator expression
Parenthised(ExprParenthised)
An expression inside parentheses.
ExplicitIterator(ExplicitIterator)
An explicit iterator.
PointCollection(PointCollectionConstructor)
A point collection construction
Implementations§
Trait Implementations§
source§impl Debug for SimpleExpression
impl Debug for SimpleExpression
source§impl From<&SimpleExpression> for IterNode
impl From<&SimpleExpression> for IterNode
source§fn from(value: &SimpleExpression) -> Self
fn from(value: &SimpleExpression) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SimpleExpression
impl Send for SimpleExpression
impl Sync for SimpleExpression
impl Unpin for SimpleExpression
impl UnwindSafe for SimpleExpression
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more