[−][src]Struct nuki::FontGlyph
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]
fn as_mut(&mut self) -> &mut nk_font_glyph
[src]
impl AsRef<FontGlyph> for nk_font_glyph
[src]
impl AsRef<nk_font_glyph> for FontGlyph
[src]
fn as_ref(&self) -> &nk_font_glyph
[src]
impl Clone for FontGlyph
[src]
impl Default for FontGlyph
[src]
Auto Trait Implementations
impl RefUnwindSafe for FontGlyph
impl Send for FontGlyph
impl Sync for FontGlyph
impl Unpin for FontGlyph
impl UnwindSafe for FontGlyph
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,