pub fn load_script(
provider: &(impl DataProvider<ScriptV1Marker> + ?Sized),
) -> Result<CodePointMapData<Script>, PropertiesError>
Expand description
A version of script()
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
.