#[repr(C)]pub struct nk_font_config {Show 17 fields
pub next: *mut nk_font_config,
pub ttf_blob: *mut c_void,
pub ttf_size: nk_size,
pub ttf_data_owned_by_atlas: c_uchar,
pub merge_mode: c_uchar,
pub pixel_snap: c_uchar,
pub oversample_v: c_uchar,
pub oversample_h: c_uchar,
pub padding: [c_uchar; 3],
pub size: f32,
pub coord_type: nk_font_coord_type,
pub spacing: nk_vec2,
pub range: *const nk_rune,
pub font: *mut nk_baked_font,
pub fallback_glyph: nk_rune,
pub n: *mut nk_font_config,
pub p: *mut nk_font_config,
}Fields§
§next: *mut nk_font_config§ttf_blob: *mut c_void§ttf_size: nk_size§ttf_data_owned_by_atlas: c_uchar§merge_mode: c_uchar§pixel_snap: c_uchar§oversample_v: c_uchar§oversample_h: c_uchar§padding: [c_uchar; 3]§size: f32§coord_type: nk_font_coord_type§spacing: nk_vec2§range: *const nk_rune§font: *mut nk_baked_font§fallback_glyph: nk_rune§n: *mut nk_font_config§p: *mut nk_font_configTrait Implementations§
Source§impl Clone for nk_font_config
impl Clone for nk_font_config
Source§fn clone(&self) -> nk_font_config
fn clone(&self) -> nk_font_config
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_config
impl Debug for nk_font_config
Source§impl Default for nk_font_config
impl Default for nk_font_config
impl Copy for nk_font_config
Auto Trait Implementations§
impl Freeze for nk_font_config
impl RefUnwindSafe for nk_font_config
impl !Send for nk_font_config
impl !Sync for nk_font_config
impl Unpin for nk_font_config
impl UnwindSafe for nk_font_config
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