pub struct FontInfo {
pub family: String,
pub size: f32,
pub weight: FontWeight,
pub color: (u8, u8, u8),
}Expand description
Font information
Fields§
§family: StringFont family
size: f32Font size
weight: FontWeightFont weight
color: (u8, u8, u8)Font color
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FontInfo
impl RefUnwindSafe for FontInfo
impl Send for FontInfo
impl Sync for FontInfo
impl Unpin for FontInfo
impl UnwindSafe for FontInfo
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