(&self, other: &Box<dyn Value>)
| 32 | } |
| 33 | |
| 34 | fn compare(&self, other: &Box<dyn Value>) -> Option<Ordering> { |
| 35 | if let Some(other_interval) = other.as_any().downcast_ref::<IntervalValue>() { |
| 36 | return self.interval.partial_cmp(&other_interval.interval); |
| 37 | } |
| 38 | None |
| 39 | } |
| 40 | |
| 41 | fn data_type(&self) -> Box<dyn DataType> { |
| 42 | Box::new(IntervalType) |
nothing calls this directly
no test coverage detected