CodePointSetData.generalCategoryGroup constructor
- GeneralCategoryGroup group
Produces a set for obtaining General Category Group values
which is a mask with the same format as the U_GC_XX_MASK
mask in ICU4C, using compiled data.
See the Rust documentation for GeneralCategoryGroup
for more information.
See the Rust documentation for get_set_for_value_group
for more information.
Implementation
factory CodePointSetData.generalCategoryGroup(GeneralCategoryGroup group) {
final temp = _FinalizedArena();
final result = _icu4x_CodePointSetData_create_general_category_group_mv1(group._toFfi(temp.arena));
return CodePointSetData._fromFfi(result, []);
}