Enum cameleon_genapi::formula::Expr
source · pub enum Expr {
BinOp {
kind: BinOpKind,
lhs: Box<Expr>,
rhs: Box<Expr>,
},
UnOp {
kind: UnOpKind,
expr: Box<Expr>,
},
If {
cond: Box<Expr>,
then: Box<Expr>,
else_: Box<Expr>,
},
Integer(i64),
Float(f64),
Ident(String),
}
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq<Expr> for Expr
impl PartialEq<Expr> for Expr
impl StructuralPartialEq for Expr
Auto Trait Implementations§
impl RefUnwindSafe for Expr
impl Send for Expr
impl Sync for Expr
impl Unpin for Expr
impl UnwindSafe for Expr
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