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
BinOp
UnOp
If
Integer(i64)
Float(f64)
Ident(String)
Implementations
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more