Module aoc::util::bitset

source ·
Expand description

Add biterator method that treats an integer as a set, iterating over each element where the respective bit is set. For example 1101 would return 0, 2 and 3.

Structs§

Traits§