pub struct FontInfo {
pub char_set: CharSet,
pub postscript_name: Option<String>,
pub full_name: Option<String>,
}
Expand description
Contains information parsed from a font file.
Fields§
§char_set: CharSet
§postscript_name: Option<String>
The “Postscript name” of the font face.
full_name: Option<String>
The user-friendly “full name” of the font face.
Trait Implementations§
impl Eq for FontInfo
impl StructuralPartialEq for FontInfo
Auto Trait Implementations§
impl Freeze for FontInfo
impl RefUnwindSafe for FontInfo
impl Send for FontInfo
impl Sync for FontInfo
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)