Struct nanovg::TextMetrics [−][src]
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]
impl Clone for TextMetrics
fn clone(&self) -> TextMetrics
[src]
fn clone(&self) -> TextMetrics
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for TextMetrics
[src]
impl Copy for TextMetrics
impl Debug for TextMetrics
[src]
impl Debug for TextMetrics
Auto Trait Implementations
impl Send for TextMetrics
impl Send for TextMetrics
impl Sync for TextMetrics
impl Sync for TextMetrics