pub enum Expr<'input, N: Num> {
Eq(Box<Expr<'input, N>>, Box<Expr<'input, N>>),
FuncOrVarMul(&'input str, Vec<Expr<'input, N>>),
Neg(Box<Expr<'input, N>>),
Num(&'input N),
Op(OpVal, Box<Expr<'input, N>>, Box<Expr<'input, N>>),
Var(&'input str),
}
Variants§
Eq(Box<Expr<'input, N>>, Box<Expr<'input, N>>)
FuncOrVarMul(&'input str, Vec<Expr<'input, N>>)
Neg(Box<Expr<'input, N>>)
Num(&'input N)
Op(OpVal, Box<Expr<'input, N>>, Box<Expr<'input, N>>)
Var(&'input str)
Trait Implementations§
source§impl<'input, N: PartialEq + Num> PartialEq for Expr<'input, N>
impl<'input, N: PartialEq + Num> PartialEq for Expr<'input, N>
impl<'input, N: Num> StructuralPartialEq for Expr<'input, N>
Auto Trait Implementations§
impl<'input, N> Freeze for Expr<'input, N>
impl<'input, N> RefUnwindSafe for Expr<'input, N>where
N: RefUnwindSafe,
impl<'input, N> Send for Expr<'input, N>where
N: Sync,
impl<'input, N> Sync for Expr<'input, N>where
N: Sync,
impl<'input, N> Unpin for Expr<'input, N>
impl<'input, N> UnwindSafe for Expr<'input, N>where
N: RefUnwindSafe,
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