Struct rusttype_bugfix_19072017::SharedGlyphData [] [src]

pub struct SharedGlyphData {
    pub id: u32,
    pub extents: Option<Rect<i32>>,
    pub scale_for_1_pixel: f32,
    pub unit_h_metrics: HMetrics,
    pub shape: Option<Vec<Vertex>>,
}

Shared glyph data, inner data of a glyph

Fields

ID of the glyph in the font

Extents of the glyph

Current scaling

Raw horizontal metrics

Vertices of the glyph

Trait Implementations

impl Clone for SharedGlyphData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SharedGlyphData
[src]

Formats the value using the given formatter.