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

Trait Implementations

impl Clone for TextBounds
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for TextBounds
[src]

impl Debug for TextBounds
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for TextBounds

impl Sync for TextBounds