pub struct Font {
pub family: Family,
pub weight: Weight,
pub stretch: Stretch,
pub style: Style,
}
Expand description
A font.
Fields§
§family: Family
§weight: Weight
§stretch: Stretch
§style: Style
Implementations§
Trait Implementations§
source§impl PartialEq for Font
impl PartialEq for Font
impl Copy for Font
impl Eq for Font
impl StructuralPartialEq for Font
Auto Trait Implementations§
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