#[repr(C)]pub struct ImFontConfig {Show 18 fields
pub font_data: *mut c_void,
pub font_data_size: c_int,
pub font_data_owned_by_atlas: bool,
pub font_no: c_int,
pub size_pixels: c_float,
pub oversample_h: c_int,
pub oversample_v: c_int,
pub pixel_snap_h: bool,
pub glyph_extra_spacing: ImVec2,
pub glyph_offset: ImVec2,
pub glyph_ranges: *const ImWchar,
pub glyph_min_advance_x: c_float,
pub glyph_max_advance_x: c_float,
pub merge_mode: bool,
pub rasterizer_flags: c_uint,
pub rasterizer_multiply: c_float,
pub name: [c_char; 40],
pub dst_font: *mut ImFont,
}
Fields§
§font_data: *mut c_void
§font_data_size: c_int
§font_data_owned_by_atlas: bool
§font_no: c_int
§size_pixels: c_float
§oversample_h: c_int
§oversample_v: c_int
§pixel_snap_h: bool
§glyph_extra_spacing: ImVec2
§glyph_offset: ImVec2
§glyph_ranges: *const ImWchar
§glyph_min_advance_x: c_float
§glyph_max_advance_x: c_float
§merge_mode: bool
§rasterizer_flags: c_uint
§rasterizer_multiply: c_float
§name: [c_char; 40]
§dst_font: *mut ImFont
Auto Trait Implementations§
impl Freeze for ImFontConfig
impl RefUnwindSafe for ImFontConfig
impl !Send for ImFontConfig
impl !Sync for ImFontConfig
impl Unpin for ImFontConfig
impl UnwindSafe for ImFontConfig
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