Struct prototty_common::TextInfo
[−]
[src]
pub struct TextInfo { pub foreground_colour: Option<Rgb24>, pub background_colour: Option<Rgb24>, pub underline: bool, pub bold: bool, }
Rich text settings
Fields
foreground_colour: Option<Rgb24>
background_colour: Option<Rgb24>
underline: bool
bold: bool
Methods
impl TextInfo
[src]
fn foreground_colour(self, colour: Rgb24) -> Self
[src]
fn background_colour(self, colour: Rgb24) -> Self
[src]
fn underline(self) -> Self
[src]
fn bold(self) -> Self
[src]
fn write_cell<C: ViewCell>(&self, cell: &mut C)
[src]
Trait Implementations
impl Debug for TextInfo
[src]
impl Clone for TextInfo
[src]
fn clone(&self) -> TextInfo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more