public static T ToEnum <T>(this ulong value) where T : unmanaged, Enum => value.Bitcast <ulong, T>();