Struct arcdps_imgui::Font
source · #[repr(C)]pub struct Font {
pub fallback_advance_x: f32,
pub font_size: f32,
pub config_data_count: i16,
pub fallback_char: ImWchar,
pub ellipsis_char: ImWchar,
pub dirty_lookup_tables: bool,
pub scale: f32,
pub ascent: f32,
pub descent: f32,
pub metrics_total_surface: c_int,
pub used_4k_pages_map: [u8; 2],
/* private fields */
}
Expand description
Runtime data for a single font within a font atlas
Fields§
§fallback_advance_x: f32
§font_size: f32
§config_data_count: i16
§fallback_char: ImWchar
§ellipsis_char: ImWchar
§dirty_lookup_tables: bool
§scale: f32
§ascent: f32
§descent: f32
§metrics_total_surface: c_int
§used_4k_pages_map: [u8; 2]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Font
impl RefUnwindSafe for Font
impl !Send for Font
impl !Sync for Font
impl Unpin for Font
impl UnwindSafe for Font
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