has method

Whether this instance has all the bit fields specified in other.

Implementation

bool has(PROCESS_ACCESS_RIGHTS other) => _ & other._ == other._;