macro_rules! range_inclusive_map {
    ($($k:expr => $v:expr),* $(,)?) => { ... };
}
Expand description

Create a RangeInclusiveMap from key-value pairs.

§Example

let map = range_inclusive_map!{
    0..=100 => "abc",
    100..=200 => "def",
    200..=300 => "ghi"
};