pub struct FontInfo {
pub tfm_name: Box<str>,
pub styles: ModifierSeq,
pub weblink: Option<(&'static str, &'static str)>,
/* private fields */
}Expand description
Information about a font
Fields§
§tfm_name: Box<str>The name of the .tfm file
styles: ModifierSeqThe FontModifiers of this font
weblink: Option<(&'static str, &'static str)>The CSS name and web-font link for this font
Trait Implementations§
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