pub fn multi_codepoint_to_codepoint(
        &mut self,
        name: &str,
        map: &BTreeMap<u32, BTreeSet<u32>>,
    ) -> Result<()> {
        if self.opts.fst_dir.is_some() {
            return err!("cannot emit codepoint multimaps as an FST");
        }

        let mut map2: BTreeMap<u32, Vec<u32>> = BTreeMap::new();
        for (&k, vs) in map {
            let vs2 = vs.iter().cloned().collect();
            map2.insert(k, vs2);
        }
        self.codepoint_to_codepoints(name, &map2)
    }
/// Write a map that associates codepoints with other codepoints, where
/// each codepoint can be associated with possibly many other codepoints.
///
/// This does not support the FST format.
Write a map that associates codepoints with other codepoints, where
each codepoint can be associated with possibly many other codepoints.

This does not support the FST format.
Write a map that associates codepoints with other codepoints where each codepoint can be associated with possibly many other codepoints . This does not support the FST format .
pub fn multi_codepoint_to_codepoint(
        &mut self,
        name: &str,
        map: &BTreeMap<u32, BTreeSet<u32>>,
    ) -> Result<()> {
        if self.opts.fst_dir.is_some() {
            return err!("cannot emit codepoint multimaps as an FST");
        }
        let mut map2: BTreeMap<u32, Vec<u32>> = BTreeMap::new();
        for (&k, vs) in map {
            let vs2 = vs.iter().cloned().collect();
            map2.insert(k, vs2);
        }
        self.codepoint_to_codepoints(name, &map2)
    }
pub fn multi_codepoint_to_codepoint ( & mut self , name : & str , map : & BTreeMap < u32 , BTreeSet < u32 > > , ) -> Result < ( ) > { if self . opts . fst_dir . is_some ( ) { return err ! ( " " ) ; } let mut map2 : BTreeMap < u32 , Vec < u32 > > = BTreeMap :: new ( ) ; for ( & k , vs ) in map { let vs2 = vs . iter ( ) . cloned ( ) . collect ( ) ; map2 . insert ( k , vs2 ) ; } self . codepoint_to_codepoints ( name , & map2 ) }
Write a map that associates codepoints with other codepoints, where
each codepoint can be associated with possibly many other codepoints.
Write a map that associates codepoints with other codepoints where each codepoint can be associated with possibly many other codepoints .
&mut self
name
&str
map
&BTreeMap<u32, BTreeSet<u32>>
&mut self
name
&str
map
&BTreeMap<u32, BTreeSet<u32>>