pub struct FontInfo {
pub filepath: String,
pub glyph_ranges: Option<Vec<[u32; 2]>>,
}Expand description
Info to supply fonts from .ttf files for use with imgui
Fields§
§filepath: Stringfilepath to a .ttf file
glyph_ranges: Option<Vec<[u32; 2]>>optional to specify ranges, which are wide char u32 code points. defaults to basic latin & extended latin
Auto Trait Implementations§
impl Freeze for FontInfo
impl RefUnwindSafe for FontInfo
impl Send for FontInfo
impl Sync for FontInfo
impl Unpin for FontInfo
impl UnsafeUnpin for FontInfo
impl UnwindSafe for FontInfo
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