Struct nanovg::TextBounds
[−]
[src]
pub struct TextBounds { pub min_x: f32, pub min_y: f32, pub max_x: f32, pub max_y: f32, }
Struct to store min and max bounds when measuring text with text_bounds or text_box_bounds
Fields
min_x: f32
min_y: f32
max_x: f32
max_y: f32
Trait Implementations
impl Clone for TextBounds
[src]
fn clone(&self) -> TextBounds
[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