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