pub struct FontDef {
pub family: Option<String>,
pub weight: Option<FontWeight>,
pub stretch: Option<FontStretch>,
pub style: Option<FontStyle>,
}Fields§
§family: Option<String>§weight: Option<FontWeight>§stretch: Option<FontStretch>§style: Option<FontStyle>Trait Implementations§
Auto Trait Implementations§
impl Freeze for FontDef
impl RefUnwindSafe for FontDef
impl Send for FontDef
impl Sync for FontDef
impl Unpin for FontDef
impl UnsafeUnpin for FontDef
impl UnwindSafe for FontDef
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