Struct sdl2_ttf::GlyphMetrics [] [src]

pub struct GlyphMetrics {
    pub minx: i32,
    pub maxx: i32,
    pub miny: i32,
    pub maxy: i32,
    pub advance: i32,
}

Information about a specific glyph (character) in a font face.

Fields

Trait Implementations

impl Debug for GlyphMetrics
[src]

Formats the value using the given formatter.

impl PartialEq for GlyphMetrics
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for GlyphMetrics
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more