[][src]Struct nuki::FontGlyph

#[repr(C)]pub struct FontGlyph { /* fields omitted */ }

Implementations

impl FontGlyph[src]

pub fn codepoint(&self) -> char[src]

pub fn xadvance(&self) -> f32[src]

pub fn x0(&self) -> f32[src]

pub fn y0(&self) -> f32[src]

pub fn x1(&self) -> f32[src]

pub fn y1(&self) -> f32[src]

pub fn w(&self) -> f32[src]

pub fn h(&self) -> f32[src]

pub fn u0(&self) -> f32[src]

pub fn v0(&self) -> f32[src]

pub fn u1(&self) -> f32[src]

pub fn v1(&self) -> f32[src]

pub fn xy(&self) -> (f32, f32, f32, f32)[src]

pub fn xy0(&self) -> (f32, f32)[src]

pub fn xy1(&self) -> (f32, f32)[src]

pub fn rect(&self) -> (f32, f32, f32, f32)[src]

pub fn size(&self) -> (f32, f32)[src]

pub fn uv(&self) -> (f32, f32, f32, f32)[src]

pub fn uv0(&self) -> (f32, f32)[src]

pub fn uv1(&self) -> (f32, f32)[src]

Trait Implementations

impl AsMut<FontGlyph> for nk_font_glyph[src]

impl AsMut<nk_font_glyph> for FontGlyph[src]

impl AsRef<FontGlyph> for nk_font_glyph[src]

impl AsRef<nk_font_glyph> for FontGlyph[src]

impl Clone for FontGlyph[src]

impl Default for FontGlyph[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.