Struct nuklear::FontGlyph [−][src]
#[repr(C)]pub struct FontGlyph { /* fields omitted */ }
Methods
impl FontGlyph
[src]
impl FontGlyph
pub fn get_codepoint(&self) -> char
[src]
pub fn get_codepoint(&self) -> char
pub fn get_xadvance(&self) -> f32
[src]
pub fn get_xadvance(&self) -> f32
pub fn x0(&self) -> f32
[src]
pub fn x0(&self) -> f32
pub fn y0(&self) -> f32
[src]
pub fn y0(&self) -> f32
pub fn x1(&self) -> f32
[src]
pub fn x1(&self) -> f32
pub fn y1(&self) -> f32
[src]
pub fn y1(&self) -> f32
pub fn w(&self) -> f32
[src]
pub fn w(&self) -> f32
pub fn h(&self) -> f32
[src]
pub fn h(&self) -> f32
pub fn u0(&self) -> f32
[src]
pub fn u0(&self) -> f32
pub fn v0(&self) -> f32
[src]
pub fn v0(&self) -> f32
pub fn u1(&self) -> f32
[src]
pub fn u1(&self) -> f32
pub fn v1(&self) -> f32
[src]
pub fn v1(&self) -> f32
Trait Implementations
impl Clone for FontGlyph
[src]
impl Clone for FontGlyph
fn clone(&self) -> FontGlyph
[src]
fn clone(&self) -> FontGlyph
Returns 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 FontGlyph
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl AsRef<nk_font_glyph> for FontGlyph
[src]
impl AsRef<nk_font_glyph> for FontGlyph
fn as_ref(&self) -> &nk_font_glyph
[src]
fn as_ref(&self) -> &nk_font_glyph
Performs the conversion.
impl AsMut<nk_font_glyph> for FontGlyph
[src]
impl AsMut<nk_font_glyph> for FontGlyph
fn as_mut(&mut self) -> &mut nk_font_glyph
[src]
fn as_mut(&mut self) -> &mut nk_font_glyph
Performs the conversion.
impl AsRef<FontGlyph> for nk_font_glyph
[src]
impl AsRef<FontGlyph> for nk_font_glyph
impl AsMut<FontGlyph> for nk_font_glyph
[src]
impl AsMut<FontGlyph> for nk_font_glyph
impl Default for FontGlyph
[src]
impl Default for FontGlyph