IntFlag.mask

An IntFlag value is implicitly convertible to an IntFlags with only the one flag raised.

struct IntFlag
pragma(inline, true) @property
mask
const pure @safe nothrow @nogc
(
)

Examples

IntFlags flags = IntFlag.over;
assert(flags == IntFlag.over);

Meta