fn range_to_set(range: Option<Range<u16>>) -> BTreeSet<u16>
Expand description

Generates a set with all the powers of two included in the range.