pub struct Font {
pub postscript: String,
pub family: String,
pub id: String,
pub style: String,
pub weight: u16,
pub stretch: u16,
pub italic: bool,
}Fields§
§postscript: String§family: String§id: String§style: String§weight: u16§stretch: u16§italic: boolAuto 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