(&self, other: &Box<dyn Value>)
| 37 | } |
| 38 | |
| 39 | fn compare(&self, other: &Box<dyn Value>) -> Option<Ordering> { |
| 40 | if let Some(other_int) = other.as_any().downcast_ref::<IntValue>() { |
| 41 | return self.value.partial_cmp(&other_int.value); |
| 42 | } |
| 43 | None |
| 44 | } |
| 45 | |
| 46 | fn data_type(&self) -> Box<dyn DataType> { |
| 47 | Box::new(IntType) |
nothing calls this directly
no test coverage detected