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