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