#[repr(C)]pub struct FontGlyph { /* private fields */ }
Implementations§
Source§impl FontGlyph
impl FontGlyph
pub fn get_codepoint(&self) -> char
pub fn get_xadvance(&self) -> f32
pub fn x0(&self) -> f32
pub fn y0(&self) -> f32
pub fn x1(&self) -> f32
pub fn y1(&self) -> f32
pub fn w(&self) -> f32
pub fn h(&self) -> f32
pub fn u0(&self) -> f32
pub fn v0(&self) -> f32
pub fn u1(&self) -> f32
pub fn v1(&self) -> f32
Trait Implementations§
Source§impl AsMut<FontGlyph> for nk_font_glyph
impl AsMut<FontGlyph> for nk_font_glyph
Source§impl AsMut<nk_font_glyph> for FontGlyph
impl AsMut<nk_font_glyph> for FontGlyph
Source§fn as_mut(&mut self) -> &mut nk_font_glyph
fn as_mut(&mut self) -> &mut nk_font_glyph
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<FontGlyph> for nk_font_glyph
impl AsRef<FontGlyph> for nk_font_glyph
Source§impl AsRef<nk_font_glyph> for FontGlyph
impl AsRef<nk_font_glyph> for FontGlyph
Source§fn as_ref(&self) -> &nk_font_glyph
fn as_ref(&self) -> &nk_font_glyph
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for FontGlyph
impl RefUnwindSafe for FontGlyph
impl Send for FontGlyph
impl Sync for FontGlyph
impl Unpin for FontGlyph
impl UnwindSafe for FontGlyph
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more