Return a set of flags that has all the flags set in both this and other.
this
other
Flags<T> operator &(Flags<T> other) => Flags(value & other.value);