toggleFlagMasked

Toggles a flag within a masked value.

static pure @nogc
void
toggleFlagMasked
(
T
)
(
ref T value
,,)

Parameters

value T

Reference to the value where the flag will be toggled.

mask T

The mask to apply to the value.

flag T

The flag to toggle within the masked value.

Meta