Function icu_properties::maps::load_word_break
source ยท pub fn load_word_break(
provider: &(impl DataProvider<WordBreakV1Marker> + ?Sized),
) -> Result<CodePointMapData<WordBreak>, PropertiesError>
Expand description
A version of word_break()
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
.