Enum ucglib::ast::Expression
[−]
[src]
pub enum Expression {
Simple(Value),
Binary(BinaryOpDef),
Copy(CopyDef),
Grouped(Box<Expression>),
Format(FormatDef),
Call(CallDef),
Macro(MacroDef),
Select(SelectDef),
}Encodes a ucg expression. Expressions compute a value from.
Variants
Simple(Value)Binary(BinaryOpDef)Copy(CopyDef)Grouped(Box<Expression>)Format(FormatDef)Call(CallDef)Macro(MacroDef)Select(SelectDef)
Methods
impl Expression[src]
Trait Implementations
impl Debug for Expression[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for Expression[src]
fn eq(&self, __arg_0: &Expression) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Expression) -> bool[src]
This method tests for !=.
impl Clone for Expression[src]
fn clone(&self) -> Expression[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more