pub fn to_glyphs(mut self) -> Vec<GlyphPosition> {
        // Finish the layout
        self.layout_pending();

        // Generate the glyphs
        self.layout.into_iter()
            .flat_map(|action| match action {
                LayoutAction::Glyph(glyph)  => Some(glyph),
                _                           => None
            })
            .collect()
    }
///
/// Finishes the layout and returns a list of glyph positions (any drawing instructions are discarded)
///
Finishes the layout and returns a list of glyph positions (any drawing instructions are discarded)
Finishes the layout and returns a list of glyph positions ( any drawing instructions are discarded )
pub fn to_glyphs(mut self) -> Vec<GlyphPosition> {
        // Finish the layout
        self.layout_pending();
        // Generate the glyphs
        self.layout.into_iter()
            .flat_map(|action| match action {
                LayoutAction::Glyph(glyph)  => Some(glyph),
                _                           => None
            })
            .collect()
    }
pub fn to_glyphs ( mut self ) -> Vec < GlyphPosition > { // Finish the layout self . layout_pending ( ) ; // Generate the glyphs self . layout . into_iter ( ) . flat_map ( | action | match action { LayoutAction :: Glyph ( glyph ) => Some ( glyph ) , _ => None } ) . collect ( ) }
Finishes the layout and returns a list of glyph positions (any drawing instructions are discarded)
Finishes the layout and returns a list of glyph positions ( any drawing instructions are discarded )
mut self