icu_properties::maps

Function load_hangul_syllable_type

Source
pub fn load_hangul_syllable_type(
    provider: &(impl DataProvider<HangulSyllableTypeV1Marker> + ?Sized),
) -> Result<CodePointMapData<HangulSyllableType>, PropertiesError>
Expand description

A version of hangul_syllable_type() that uses custom data provided by a DataProvider.

Note that this will return an owned version of the data. Functionality is available on the borrowed version, accessible through CodePointMapData::as_borrowed.

📚 Help choosing a constructor