the position, 0-based, of the element to mask.
the kind of the element to mask.
the value mask.
The input argument with the element masked.
// MaskKind.Byte by default. static assert(mask!1(0x12345678) == 0x12340078); static assert(mask!(1,MaskKind.Nibble)(0x12345678) == 0x12345608);
Masks, at compile-time, a byte, a nibble or a bit in the argument.