IntFlag.mask

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

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

Examples

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

Meta