Struct nuklear_rust::NkFontGlyph
[−]
[src]
#[repr(C)]pub struct NkFontGlyph { /* fields omitted */ }
Methods
impl NkFontGlyph[src]
fn get_codepoint(&self) -> char
fn get_xadvance(&self) -> f32
fn x0(&self) -> f32
fn y0(&self) -> f32
fn x1(&self) -> f32
fn y1(&self) -> f32
fn w(&self) -> f32
fn h(&self) -> f32
fn u0(&self) -> f32
fn v0(&self) -> f32
fn u1(&self) -> f32
fn v1(&self) -> f32
Trait Implementations
impl Clone for NkFontGlyph[src]
fn clone(&self) -> NkFontGlyph
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 AsRef<nk_font_glyph> for NkFontGlyph[src]
fn as_ref(&self) -> &nk_font_glyph
Performs the conversion.
impl AsMut<nk_font_glyph> for NkFontGlyph[src]
fn as_mut(&mut self) -> &mut nk_font_glyph
Performs the conversion.