Struct prototty_grid::CommonCell
[−]
[src]
pub struct CommonCell<F, B> where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground, { pub character: char, pub bold: bool, pub underline: bool, pub foreground_colour: F, pub background_colour: B, }
Fields
character: char
bold: bool
underline: bool
foreground_colour: F
background_colour: B
Trait Implementations
impl<F: Debug, B: Debug> Debug for CommonCell<F, B> where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
[src]
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
impl<F: Clone, B: Clone> Clone for CommonCell<F, B> where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
[src]
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
fn clone(&self) -> CommonCell<F, B>
[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
impl<F, B> ViewCell for CommonCell<F, B> where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
[src]
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
fn set_character(&mut self, character: char)
[src]
fn set_bold(&mut self, bold: bool)
[src]
fn set_underline(&mut self, underline: bool)
[src]
fn set_foreground_colour(&mut self, colour: Rgb24)
[src]
fn set_background_colour(&mut self, colour: Rgb24)
[src]
impl<F, B> Default for CommonCell<F, B> where
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,
[src]
F: From<Rgb24> + DefaultForeground,
B: From<Rgb24> + DefaultBackground,