pub struct Font {
pub(crate) families: Vec<FontFamily>,
pub(crate) style: FontStyle,
pub(crate) stretch: FontStretch,
pub(crate) weight: u16,
}
Expand description
Text font properties.
Fields§
§families: Vec<FontFamily>
§style: FontStyle
§stretch: FontStretch
§weight: u16
Implementations§
Trait Implementations§
impl Eq for Font
impl StructuralPartialEq for Font
Auto 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