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
minx: i32
maxx: i32
miny: i32
maxy: i32
advance: i32
Trait Implementations
impl Debug for GlyphMetrics
[src]
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 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