#[repr(C)]pub struct nk_user_font_glyph {
pub uv: [nk_vec2; 2],
pub offset: nk_vec2,
pub width: f32,
pub height: f32,
pub xadvance: f32,
}Fields§
§uv: [nk_vec2; 2]§offset: nk_vec2§width: f32§height: f32§xadvance: f32Trait Implementations§
Source§impl Clone for nk_user_font_glyph
impl Clone for nk_user_font_glyph
Source§fn clone(&self) -> nk_user_font_glyph
fn clone(&self) -> nk_user_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_user_font_glyph
impl Debug for nk_user_font_glyph
Source§impl Default for nk_user_font_glyph
impl Default for nk_user_font_glyph
Source§fn default() -> nk_user_font_glyph
fn default() -> nk_user_font_glyph
Returns the “default value” for a type. Read more
impl Copy for nk_user_font_glyph
Auto Trait Implementations§
impl Freeze for nk_user_font_glyph
impl RefUnwindSafe for nk_user_font_glyph
impl Send for nk_user_font_glyph
impl Sync for nk_user_font_glyph
impl Unpin for nk_user_font_glyph
impl UnwindSafe for nk_user_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