pub struct TextInfo {
pub foreground_colour: Option<Rgb24>,
pub background_colour: Option<Rgb24>,
pub underline: bool,
pub bold: bool,
}
Expand description
Rich text settings
Fields§
§foreground_colour: Option<Rgb24>
§background_colour: Option<Rgb24>
§underline: bool
§bold: bool
Implementations§
Trait Implementations§
impl Copy for TextInfo
Auto Trait Implementations§
impl Freeze for TextInfo
impl RefUnwindSafe for TextInfo
impl Send for TextInfo
impl Sync for TextInfo
impl Unpin for TextInfo
impl UnwindSafe for TextInfo
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