Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + func IterateBitMasks(bits []int, callback func(BitMask)) + type BitMask interface + Add func(bits ...int) error + And func(masks ...BitMask) + Clear func() + Count func() int + Fill func() + GetBits func() []int + IsEmpty func() bool + IsEqual func(mask BitMask) bool + IsNarrowerThan func(mask BitMask) bool + IsSet func(bit int) bool + Or func(masks ...BitMask) + Remove func(bits ...int) error + String func() string + func And(first BitMask, masks ...BitMask) BitMask + func NewBitMask(bits ...int) (BitMask, error) + func NewEmptyBitMask() BitMask + func Or(first BitMask, masks ...BitMask) BitMask