Struct sdl2_ttf::GlyphMetrics [] [src]

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

Glyph Metrics

Fields

minx: i32 maxx: i32 miny: i32 maxy: i32 advance: i32

Trait Implementations

impl Clone for GlyphMetrics
[src]

fn clone(&self) -> GlyphMetrics

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PartialEq for GlyphMetrics
[src]

fn eq(&self, __arg_0: &GlyphMetrics) -> bool

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

fn ne(&self, __arg_0: &GlyphMetrics) -> bool

This method tests for !=.

impl Debug for GlyphMetrics
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.