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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TextBounds
[src]

impl Debug for TextBounds
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for TextBounds

impl Sync for TextBounds