Struct femtovg::TextMetrics
source · [−]pub struct TextMetrics {
pub x: f32,
pub y: f32,
pub glyphs: Vec<ShapedGlyph>,
/* private fields */
}
Expand description
Result of a shaping run.
Fields
x: f32
y: f32
glyphs: Vec<ShapedGlyph>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for TextMetrics
impl Send for TextMetrics
impl Sync for TextMetrics
impl Unpin for TextMetrics
impl UnwindSafe for TextMetrics
Blanket Implementations
Mutably borrows from an owned value. Read more