unsafe fn glyph_sidebearings(&self, glyphID: u32) -> Option<(f32, f32)> {
        // TODO: None if glyph not found
        let (lsb, rsb) = self.font.get_glyph_sidebearings(glyphID as GlyphID);
        Some(if self.extend as f64 != 0. {
            (lsb * self.extend, rsb * self.extend)
        } else {
            (lsb, rsb)
        })
    }
/// getGlyphSidebearings (had out params lsb, rsb)
getGlyphSidebearings (had out params lsb, rsb)
getGlyphSidebearings ( had out params lsb rsb )
unsafe fn glyph_sidebearings(&self, glyphID: u32) -> Option<(f32, f32)> {
        // TODO: None if glyph not found
        let (lsb, rsb) = self.font.get_glyph_sidebearings(glyphID as GlyphID);
        Some(if self.extend as f64 != 0. {
            (lsb * self.extend, rsb * self.extend)
        } else {
            (lsb, rsb)
        })
    }
unsafe fn glyph_sidebearings ( & self , glyphID : u32 ) -> Option < ( f32 , f32 ) > { // TODO: None if glyph not found let ( lsb , rsb ) = self . font . get_glyph_sidebearings ( glyphID as GlyphID ) ; Some ( if self . extend as f64 != 0. { ( lsb * self . extend , rsb * self . extend ) } else { ( lsb , rsb ) } ) }
getGlyphSidebearings (had out params lsb, rsb)
getGlyphSidebearings ( had out params lsb rsb )
&self
glyphID
u32