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