macro_rules! range_inclusive_set { ($($range:expr),* $(,)?) => { ... }; }
Expand description
Create a RangeInclusiveSet
from a list of ranges.
ยงExample
let set = range_inclusive_set![0..=100, 200..=300, 400..=500];
macro_rules! range_inclusive_set { ($($range:expr),* $(,)?) => { ... }; }
Create a RangeInclusiveSet
from a list of ranges.
let set = range_inclusive_set![0..=100, 200..=300, 400..=500];