Assign the set of flags represented by that to this IntFlags. Note that IntFlag values are accepted also, because IntFlag is implicitly convertible to IntFlags.
ditto
Clear all flags, and return the set of flags that were previously set.
Test (&), set (|), or unset (-) individual flags.
Clear the first set IntFlag. This is equivalent to flags -= flags.front.
Get a string representation of the list of set flags.
Puts a string representation of the list of set flags into w. This overload will not allocate, unless std.range.primitives.put(w, ...) allocates.
true if any non-null flag is set, otherwise false.
true if no non-null flags are set.
Get the first set IntFlag.
Get the number of raised flags.
Get a mutable copy of this IntFlags value, so as not to clear() the original by iterating through it.
The standard IntFlags set for the current thread. raise!(IntFlagPolicy.sticky)() mutates this variable.
A bitset that can be used to track integer math failures.
IntFlags is also a forward range which can be used to iterate over the set (raised) IntFlag values. Fully consuming the range is equivalent to calling clear(); iterate over a copy made with save(), instead, if this clearing is undesired.