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