get info from any range struct.
impl:
[x] std::ops::Range
[x] std::ops::RangeTo
[x] std::ops::RangeFrom
[x] std::ops::RangeFull
[x] std::ops::RangeInclusive
[x] std::ops::RangeToInclusive