Struct nanovg::TextMetrics
[−]
[src]
pub struct TextMetrics { pub ascender: f32, pub descender: f32, pub line_height: f32, }
Struct to store measured text metrics computed with Context::text_metrics
Fields
ascender: f32
descender: f32
line_height: f32
Trait Implementations
impl Clone for TextMetrics
[src]
fn clone(&self) -> TextMetrics
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more