pub fn write_dxdict<I>( path: &Path, metadata: &DxdictMetadata, entries: I, ) -> Result<usize>where I: IntoIterator<Item = Result<DictEntry>>,