Struct nuklear::FontGlyph [−][src]
#[repr(C)]pub struct FontGlyph { /* fields omitted */ }
Methods
impl FontGlyph[src]
impl FontGlyphpub fn get_codepoint(&self) -> char[src]
pub fn get_codepoint(&self) -> charpub fn get_xadvance(&self) -> f32[src]
pub fn get_xadvance(&self) -> f32pub fn x0(&self) -> f32[src]
pub fn x0(&self) -> f32pub fn y0(&self) -> f32[src]
pub fn y0(&self) -> f32pub fn x1(&self) -> f32[src]
pub fn x1(&self) -> f32pub fn y1(&self) -> f32[src]
pub fn y1(&self) -> f32pub fn w(&self) -> f32[src]
pub fn w(&self) -> f32pub fn h(&self) -> f32[src]
pub fn h(&self) -> f32pub fn u0(&self) -> f32[src]
pub fn u0(&self) -> f32pub fn v0(&self) -> f32[src]
pub fn v0(&self) -> f32pub fn u1(&self) -> f32[src]
pub fn u1(&self) -> f32pub fn v1(&self) -> f32[src]
pub fn v1(&self) -> f32Trait Implementations
impl Clone for FontGlyph[src]
impl Clone for FontGlyphfn clone(&self) -> FontGlyph[src]
fn clone(&self) -> FontGlyphReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for FontGlyph[src]
impl Debug for FontGlyphfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl AsRef<nk_font_glyph> for FontGlyph[src]
impl AsRef<nk_font_glyph> for FontGlyphfn as_ref(&self) -> &nk_font_glyph[src]
fn as_ref(&self) -> &nk_font_glyphPerforms the conversion.
impl AsMut<nk_font_glyph> for FontGlyph[src]
impl AsMut<nk_font_glyph> for FontGlyphfn as_mut(&mut self) -> &mut nk_font_glyph[src]
fn as_mut(&mut self) -> &mut nk_font_glyphPerforms the conversion.
impl AsRef<FontGlyph> for nk_font_glyph[src]
impl AsRef<FontGlyph> for nk_font_glyphimpl AsMut<FontGlyph> for nk_font_glyph[src]
impl AsMut<FontGlyph> for nk_font_glyphimpl Default for FontGlyph[src]
impl Default for FontGlyph