pub struct FontPin {
pub family: String,
pub weight: u16,
pub italic: bool,
pub path: PathBuf,
}Expand description
A font file that answers for a family, weight and style (see
Fonts::pin).
Fields§
§family: String§weight: u16§italic: bool§path: PathBufTrait Implementations§
impl StructuralPartialEq for FontPin
Auto Trait Implementations§
impl Forget for FontPin
impl Freeze for FontPin
impl Move for FontPin
impl RefUnwindSafe for FontPin
impl Send for FontPin
impl Sync for FontPin
impl Unpin for FontPin
impl UnsafeUnpin for FontPin
impl UnwindSafe for FontPin
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