pub struct DefaultTextStyle {
pub color: Option<StyleFn>,
pub bold: bool,
pub italic: bool,
pub strikethrough: bool,
pub underline: bool,
}Expand description
Default text styling for markdown content. Applied to all text unless overridden by markdown formatting.
Fields§
§color: Option<StyleFn>Optional foreground color function.
bold: bool§italic: bool§strikethrough: bool§underline: boolAuto Trait Implementations§
impl !RefUnwindSafe for DefaultTextStyle
impl !Send for DefaultTextStyle
impl !Sync for DefaultTextStyle
impl !UnwindSafe for DefaultTextStyle
impl Freeze for DefaultTextStyle
impl Unpin for DefaultTextStyle
impl UnsafeUnpin for DefaultTextStyle
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