pub struct Format<Font> {
    pub color: Option<Color>,
    pub font: Option<Font>,
}Expand description
The format of some text.
Fields§
§color: Option<Color>The Color of the text.
font: Option<Font>The Font of the text.
Trait Implementations§
impl<Font: Copy> Copy for Format<Font>
impl<Font> StructuralPartialEq for Format<Font>
Auto Trait Implementations§
impl<Font> Freeze for Format<Font>where
    Font: Freeze,
impl<Font> RefUnwindSafe for Format<Font>where
    Font: RefUnwindSafe,
impl<Font> Send for Format<Font>where
    Font: Send,
impl<Font> Sync for Format<Font>where
    Font: Sync,
impl<Font> Unpin for Format<Font>where
    Font: Unpin,
impl<Font> UnwindSafe for Format<Font>where
    Font: UnwindSafe,
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