Macro rangemap::range_set

source ·
macro_rules! range_set {
    ($($range:expr),* $(,)?) => { ... };
}
Expand description

Create a RangeSet from a list of ranges.

§Example

let set = range_set![0..100, 200..300, 400..500];