Struct iced_core::text::highlighter::Format
source · 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§
source§impl<Font: PartialEq> PartialEq for Format<Font>
impl<Font: PartialEq> PartialEq for Format<Font>
impl<Font: Copy> Copy for Format<Font>
impl<Font> StructuralPartialEq for Format<Font>
Auto Trait Implementations§
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