pub fn parse_by_codepoint<P, D>(
    ucd_dir: P
) -> Result<BTreeMap<Codepoint, D>, Error>where
    P: AsRef<Path>,
    D: UcdFileByCodepoint,
Expand description

Parse a particular file in the UCD into a map from codepoint to the record.

The given directory should be the directory to the UCD.