(self, next: TransformOperation)
| 37 | |
| 38 | impl TransformOperation { |
| 39 | fn then(self, next: TransformOperation) -> Self { |
| 40 | match (self, next) { |
| 41 | (Self::Identity, next) => next, |
| 42 | (this, Self::Identity) => this, |
| 43 | (this, next) => Self::Then(Box::new(this), Box::new(next)), |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | fn transform_value(&self, value: f64) -> Option<f64> { |
| 48 | match self { |