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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.