diff options
Diffstat (limited to 'src/math/operation.rs')
| -rw-r--r-- | src/math/operation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/operation.rs b/src/math/operation.rs index bcf6510..e54a2d1 100644 --- a/src/math/operation.rs +++ b/src/math/operation.rs @@ -2,7 +2,7 @@ use crate::math::complex::Complex; pub type Operator = fn(Complex, Complex) -> Complex; -#[derive(Clone)] +#[derive(Clone, PartialEq, Eq, Hash)] pub struct Operation { sign: char, func: Operator |