pub fn complement_vec<T: Endpoint>(
intervals: impl Into<RangeCase<T>>,
) -> RangeVec<T>Expand description
Returns the complement of a vector of closed intervals.
This operation is in-place and takes time linear in the input if it is already normalized, and \(\mathcal{O}(n \log n)\) time otherwise.