(&self, other: &Box<dyn Value>)
| 45 | } |
| 46 | |
| 47 | fn compare(&self, other: &Box<dyn Value>) -> Option<Ordering> { |
| 48 | if let Some(other_text) = other.as_any().downcast_ref::<TextValue>() { |
| 49 | return self.value.partial_cmp(&other_text.value); |
| 50 | } |
| 51 | None |
| 52 | } |
| 53 | |
| 54 | fn data_type(&self) -> Box<dyn DataType> { |
| 55 | Box::new(TextType) |
nothing calls this directly
no test coverage detected