Lines Matching defs:set
12 // is, every interval set contains an ordered sequence of intervals where
19 // generic interval set. (Hence the reason why the `unicode` module is imported
41 /// Create a new set from a sequence of intervals. Each interval is
47 let mut set = IntervalSet { ranges: intervals.into_iter().collect() };
48 set.canonicalize();
49 set
52 /// Add a new interval to this set.
60 /// Return an iterator over all intervals in this set.
67 /// Return an immutable slice of intervals in this set.
74 /// Expand this interval set such that it contains all case folded
94 /// Union this set with the given set, in place.
101 /// Intersect this set with the given set, in place.
139 /// Subtract the given set from this set, in place.
234 /// removes all elements in this set that are also in the given set,
235 /// but also adds all elements from the given set that aren't in this
236 /// set. That is, the set will contain all elements in either set,
246 /// Negate this interval set.
248 /// For all `x` where `x` is any element, if `x` was in this set, then it
249 /// will not be in this set after negation.
281 /// Converts this set into a canonical ordering.