(a: &DomainBound, b: &DomainBound)
| 157 | } |
| 158 | |
| 159 | fn bound_lt(a: &DomainBound, b: &DomainBound) -> bool { |
| 160 | match (a, b) { |
| 161 | (DomainBound::Int64(x), DomainBound::Int64(y)) => x < y, |
| 162 | (DomainBound::Float64(x), DomainBound::Float64(y)) => x < y, |
| 163 | (DomainBound::TimestampMs(x), DomainBound::TimestampMs(y)) => x < y, |
| 164 | (DomainBound::String(x), DomainBound::String(y)) => x < y, |
| 165 | // Type-mismatched bounds never satisfy a less-than relation. |
| 166 | _ => false, |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | fn coord_to_bound(c: &CoordValue) -> DomainBound { |
| 171 | match c { |
no outgoing calls
no test coverage detected