pub fn width(&self) -> u32 {
        2 + self
            .glyphs
            .iter()
            .map(|glyph| glyph.unpositioned().h_metrics().advance_width)
            .sum::<f32>() as u32
    }
/// Find out how much horizontal space this `GlyphString` needs when drawn.
// https://docs.rs/artano/0.2.8/src/artano/annotation.rs.html#270-277
Find out how much horizontal space this `GlyphString` needs when drawn.
Find out how much horizontal space this ` GlyphString ` needs when drawn .
pub fn width(&self) -> u32 {
        2 + self
            .glyphs
            .iter()
            .map(|glyph| glyph.unpositioned().h_metrics().advance_width)
            .sum::<f32>() as u32
    }
pub fn width ( & self ) -> u32 { 2 + self . glyphs . iter ( ) . map ( | glyph | glyph . unpositioned ( ) . h_metrics ( ) . advance_width ) . sum :: < f32 > ( ) as u32 }
Find out how much horizontal space this `GlyphString` needs when drawn.
Find out how much horizontal space this ` GlyphString ` needs when drawn .
&self
&self