Struct prototty_elements::TextInfo
[−]
[src]
pub struct TextInfo { pub foreground_colour: Colour, pub backrgound_colour: Colour, pub underline: bool, pub bold: bool, }
Fields
foreground_colour: Colour
backrgound_colour: Colour
underline: bool
bold: bool
Methods
impl TextInfo
[src]
fn foreground_colour(self, colour: Colour) -> Self
[src]
fn backrgound_colour(self, colour: Colour) -> Self
[src]
fn underline(self) -> Self
[src]
fn bold(self) -> Self
[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