pub fn gloss_layer<'a>(segments: impl IntoIterator<Item = &'a MorphemeSegment>) -> String {
        use itertools::Itertools;
        segments
            .into_iter()
            .flat_map(|s| vec![&*s.gloss, s.get_next_separator().unwrap_or("")])
            .join("")
    }
/// Build a string of the morpheme gloss line, used in interlinear gloss
/// text (IGT).
Build a string of the morpheme gloss line, used in interlinear gloss
text (IGT).
Build a string of the morpheme gloss line used in interlinear gloss text ( IGT ) .
pub fn gloss_layer<'a>(segments: impl IntoIterator<Item = &'a MorphemeSegment>) -> String {
        use itertools::Itertools;
        segments
            .into_iter()
            .flat_map(|s| vec![&*s.gloss, s.get_next_separator().unwrap_or("")])
            .join("")
    }
pub fn gloss_layer < ' a > ( segments : impl IntoIterator < Item = & ' a MorphemeSegment > ) -> String { use itertools :: Itertools ; segments . into_iter ( ) . flat_map ( | s | vec ! [ s gloss s get_next_separator ( ) unwrap_or ( " " ) ] ) . join ( " " ) }
Build a string of the morpheme gloss line, used in interlinear gloss
text (IGT).
Build a string of the morpheme gloss line used in interlinear gloss text ( IGT ) .
segments
impl IntoIterator<Item = &'a MorphemeSegment>