#[repr(C)]pub struct nk_font_glyph {
pub codepoint: nk_rune,
pub xadvance: f32,
pub x0: f32,
pub y0: f32,
pub x1: f32,
pub y1: f32,
pub w: f32,
pub h: f32,
pub u0: f32,
pub v0: f32,
pub u1: f32,
pub v1: f32,
}Fields§
§codepoint: nk_rune§xadvance: f32§x0: f32§y0: f32§x1: f32§y1: f32§w: f32§h: f32§u0: f32§v0: f32§u1: f32§v1: f32Trait Implementations§
Source§impl Clone for nk_font_glyph
impl Clone for nk_font_glyph
Source§fn clone(&self) -> nk_font_glyph
fn clone(&self) -> nk_font_glyph
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for nk_font_glyph
impl Debug for nk_font_glyph
Source§impl Default for nk_font_glyph
impl Default for nk_font_glyph
Source§fn default() -> nk_font_glyph
fn default() -> nk_font_glyph
Returns the “default value” for a type. Read more
impl Copy for nk_font_glyph
Auto Trait Implementations§
impl Freeze for nk_font_glyph
impl RefUnwindSafe for nk_font_glyph
impl Send for nk_font_glyph
impl Sync for nk_font_glyph
impl Unpin for nk_font_glyph
impl UnwindSafe for nk_font_glyph
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