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: u32
ID of the glyph in the font
extents: Option<Rect<i32>>
Extents of the glyph
scale_for_1_pixel: f32
Current scaling
unit_h_metrics: HMetrics
Raw horizontal metrics
shape: Option<Vec<Vertex>>
Vertices of the glyph
Trait Implementations
impl Clone for SharedGlyphData
[src]
fn clone(&self) -> SharedGlyphData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more