has method

bool has(
  1. CallingConvention other
)

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

Implementation

bool has(CallingConvention other) => this & other == other;